rust/tests/ui/feature-gates/feature-gate-rustc_const_unstable.rs
2023-01-11 09:32:08 +00:00

8 lines
174 B
Rust

// Test internal const fn feature gate.
#[rustc_const_unstable(feature="fzzzzzt")] //~ stability attributes may not be used outside
pub const fn bazinga() {}
fn main() {
}