2021-03-08 21:35:53 -06:00
|
|
|
// run-rustfix
|
2021-05-19 22:13:26 -05:00
|
|
|
#![deny(warnings)]
|
2021-03-08 21:35:53 -06:00
|
|
|
#![feature(doc_notable_trait)]
|
|
|
|
|
|
|
|
#[doc(notable_trait)]
|
2021-05-19 22:13:26 -05:00
|
|
|
//~^ ERROR unknown `doc` attribute `spotlight`
|
2021-03-08 21:35:53 -06:00
|
|
|
//~| 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 {}
|