Files
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 Normal View History

2023-10-03 19:06:17 +00:00
//@ check-pass
2025-03-29 17:24:03 +00:00
#[cfg(false)]
2023-10-03 19:06:17 +00:00
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() {}