]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/let_underscore_must_use.rs
[`excessive_bools`] lint trait functions even without bodies
[rust.git] / tests / ui / let_underscore_must_use.rs
index a842e872a37b1f0fefcb21dad35b630ef75deaeb..1edb77c748bfb715c0a3ddbcf2db2b19237238c7 100644 (file)
@@ -26,7 +26,7 @@ fn h() -> u32 {
     0
 }
 
-struct S {}
+struct S;
 
 impl S {
     #[must_use]