Skip to content

Commit 25637b2

Browse files
committed
Warn in doc test
1 parent 1999a31 commit 25637b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/noop_method_call.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare_lint! {
1515
///
1616
/// ```rust
1717
/// # #![allow(unused)]
18-
/// #![deny(noop_method_call)]
18+
/// #![warn(noop_method_call)]
1919
/// struct Foo;
2020
/// let foo = &Foo;
2121
/// let clone: &Foo = foo.clone();

0 commit comments

Comments
 (0)