]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/doc-spotlight.rs
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / 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 {}