@@ -3076,8 +3076,6 @@ fn goto_prev_diag(cx: &mut Context) {
3077 let diag = doc
3077 let diag = doc
3078 .shown_diagnostics()
3078 .shown_diagnostics()
3079− .collect::<Vec<_>>()
3082 .find(|diag| diag.range.start < cursor_pos)
3080 .find(|diag| diag.range.start < cursor_pos)
3083 .or_else(|| doc.shown_diagnostics().last());
3081 .or_else(|| doc.shown_diagnostics().last());