diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs index 394365bc8cc..90574cb359c 100644 --- a/crates/ide/src/diagnostics.rs +++ b/crates/ide/src/diagnostics.rs @@ -122,7 +122,7 @@ pub(crate) fn diagnostics( .on::(|d| { res.borrow_mut().push(warning_with_fix(d, &sema)); }) - .on::(|d| { + .on::(|d| { // Override severity and mark as unused. res.borrow_mut().push( Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message())