]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/doc-spotlight.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / src / test / rustdoc-ui / doc-spotlight.rs
1 // run-rustfix
2 #![deny(warnings)]
3 #![feature(doc_notable_trait)]
4
5 #[doc(spotlight)]
6 //~^ ERROR unknown `doc` attribute `spotlight`
7 //~| WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8 trait MyTrait {}