rust/tests/rustdoc-ui/lints/doc-spotlight.fixed
2023-04-29 11:36:19 -05:00

9 lines
281 B
Rust

// 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 {}