summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doc-spotlight.rs
blob: 16e387245802b128364f52c61b7091844c823e30 (plain)
1
2
3
4
5
6
7
8
// run-rustfix
#![deny(warnings)]
#![feature(doc_notable_trait)]

#[doc(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 {}