File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
crates/ide-diagnostics/src/handlers Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ fn invalid_args_range(
103103
104104#[ cfg( test) ]
105105mod tests {
106- use crate :: tests:: { check_diagnostics, check_diagnostics_with_disabled } ;
106+ use crate :: tests:: check_diagnostics;
107107
108108 #[ test]
109109 fn simple_free_fn_zero ( ) {
@@ -197,16 +197,15 @@ fn f() {
197197 fn method_unknown_receiver ( ) {
198198 // note: this is incorrect code, so there might be errors on this in the
199199 // future, but we shouldn't emit an argument count diagnostic here
200- check_diagnostics_with_disabled (
200+ check_diagnostics (
201201 r#"
202- trait Foo { fn method(&self, arg : usize) {} }
202+ trait Foo { fn method(&self, _arg : usize) {} }
203203
204204fn f() {
205205 let x;
206206 x.method();
207207}
208208"# ,
209- std:: iter:: once ( "unused_variables" . to_string ( ) ) ,
210209 ) ;
211210 }
212211
You can’t perform that action at this time.
0 commit comments