rust/tests/ui/feature-gates/feature-gate-fundamental.rs

5 lines
118 B
Rust

#[fundamental] //~ ERROR the `#[fundamental]` attribute is an experimental feature
struct Fundamental;
fn main() { }