rust/tests/ui/feature-gates/feature-gate-doc_notable_trait.rs
2023-01-11 09:32:08 +00:00

5 lines
106 B
Rust

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