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(
103
103
104
104
#[ cfg( test) ]
105
105
mod tests {
106
- use crate :: tests:: { check_diagnostics, check_diagnostics_with_disabled } ;
106
+ use crate :: tests:: check_diagnostics;
107
107
108
108
#[ test]
109
109
fn simple_free_fn_zero ( ) {
@@ -197,16 +197,15 @@ fn f() {
197
197
fn method_unknown_receiver ( ) {
198
198
// note: this is incorrect code, so there might be errors on this in the
199
199
// future, but we shouldn't emit an argument count diagnostic here
200
- check_diagnostics_with_disabled (
200
+ check_diagnostics (
201
201
r#"
202
- trait Foo { fn method(&self, arg : usize) {} }
202
+ trait Foo { fn method(&self, _arg : usize) {} }
203
203
204
204
fn f() {
205
205
let x;
206
206
x.method();
207
207
}
208
208
"# ,
209
- std:: iter:: once ( "unused_variables" . to_string ( ) ) ,
210
209
) ;
211
210
}
212
211
You can’t perform that action at this time.
0 commit comments