We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1999a31 commit 25637b2Copy full SHA for 25637b2
compiler/rustc_lint/src/noop_method_call.rs
@@ -15,7 +15,7 @@ declare_lint! {
15
///
16
/// ```rust
17
/// # #![allow(unused)]
18
- /// #![deny(noop_method_call)]
+ /// #![warn(noop_method_call)]
19
/// struct Foo;
20
/// let foo = &Foo;
21
/// let clone: &Foo = foo.clone();
0 commit comments