rust/src/test/ui/deprecation-in-force-unstable.rs
2019-07-27 18:56:16 +03:00

6 lines
141 B
Rust

// run-pass
// compile-flags:-Zforce-unstable-if-unmarked
#[deprecated] // should work even with -Zforce-unstable-if-unmarked
fn main() { }