0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 04:21:19 +01:00
rust/tests/ui/deprecation-in-force-unstable.rs
2024-02-16 20:02:50 +00:00

6 lines
143 B
Rust

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