rust/tests/ui/auto-traits/pre-cfg.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
186 B
Rust
Raw Permalink Normal View History

2023-10-03 14:06:17 -05:00
//@ check-pass
#[cfg(FALSE)]
auto trait Foo {}
//~^ WARN `auto` traits are unstable
//~| WARN unstable syntax can change at any point in the future, causing a hard error!
fn main() {}