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

#[doc(notable_trait)]
//~^ 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 {}