rust/tests/ui/feature-gates/feature-gate-doc_notable_tr...

5 lines
106 B
Rust

#[doc(notable_trait)] //~ ERROR: `#[doc(notable_trait)]` is experimental
trait SomeTrait {}
fn main() {}