Warn in doc test

This commit is contained in:
Ryan Levick 2021-02-17 10:06:23 +01:00
parent 1999a3147f
commit 25637b228d

View File

@ -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();