This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
9 lines
276 B
Rust
9 lines
276 B
Rust
// check-pass
|
|
// run-rustfix
|
|
|
|
#![feature(doc_notable_trait)]
|
|
|
|
#[doc(notable_trait)]
|
|
//~^ WARN 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 {}
|