mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Warn in doc test
This commit is contained in:
parent
1999a3147f
commit
25637b228d
@ -15,7 +15,7 @@ declare_lint! {
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![allow(unused)]
|
||||
/// #![deny(noop_method_call)]
|
||||
/// #![warn(noop_method_call)]
|
||||
/// struct Foo;
|
||||
/// let foo = &Foo;
|
||||
/// let clone: &Foo = foo.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user