]> git.proxmox.com Git - rustc.git/blobdiff - src/test/rustdoc-ui/doc-spotlight.fixed
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / doc-spotlight.fixed
index 94b69a99879c073ac12dd0d53fd6359bc5cbdb73..4b58778eacd17605e54d0ce7f062c620556f3f9a 100644 (file)
@@ -1,9 +1,8 @@
-// check-pass
 // run-rustfix
-
+#![deny(warnings)]
 #![feature(doc_notable_trait)]
 
 #[doc(notable_trait)]
-//~^ WARN unknown `doc` attribute `spotlight`
+//~^ ERROR unknown `doc` attribute `spotlight`
 //~| WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
 trait MyTrait {}