]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/cap-lints.rs
Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitor
[rust.git] / src / test / rustdoc / cap-lints.rs
index b66f75695f2ab5f324a4508d0f4298c724db89b0..15910e1e9006d1e8ff738a7c8814ecda10c483c1 100644 (file)
@@ -3,8 +3,7 @@
 // therefore should not concern itself with the lints.
 #[deny(warnings)]
 
-// @has cap_lints/struct.Foo.html //pre '#[must_use]'
-#[must_use]
+// @has cap_lints/struct.Foo.html //* 'Struct Foo'
 pub struct Foo {
     field: i32,
 }