rust/tests/ui/lint/auxiliary/stability-cfg2.rs
2023-01-11 09:32:08 +00:00

6 lines
205 B
Rust

// compile-flags:--cfg foo
#![cfg_attr(foo, unstable(feature = "unstable_test_feature", issue = "none"))]
#![cfg_attr(not(foo), stable(feature = "test_feature", since = "1.0.0"))]
#![feature(staged_api)]