We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc4ca5 commit 3246f49Copy full SHA for 3246f49
src/test/compile-fail/must_use-in-stdlib-traits.rs
@@ -44,4 +44,4 @@ fn main() {
44
square_fn_once(); //~ ERROR unused implementer of `std::ops::FnOnce` that must be used
45
square_fn_mut(); //~ ERROR unused implementer of `std::ops::FnMut` that must be used
46
square_fn(); //~ ERROR unused implementer of `std::ops::Fn` that must be used
47
-}
+}
0 commit comments