mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
9 lines
277 B
Rust
9 lines
277 B
Rust
// 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 {}
|