rust/tests/ui/panic-runtime/needs-gate.rs

8 lines
193 B
Rust

// gate-test-needs_panic_runtime
// gate-test-panic_runtime
#![panic_runtime] //~ ERROR: is an experimental feature
#![needs_panic_runtime] //~ ERROR: is an experimental feature
fn main() {}