rust/tests/ui/lint/auxiliary/stability-cfg2.rs
2024-02-16 20:02:50 +00:00

6 lines
206 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)]