mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
8 lines
163 B
Rust
8 lines
163 B
Rust
//@ run-rustfix
|
|
#![feature(doc_notable_trait)]
|
|
#![deny(invalid_doc_attributes)]
|
|
|
|
#[doc(spotlight)]
|
|
//~^ ERROR unknown `doc` attribute `spotlight`
|
|
trait MyTrait {}
|