rust/tests/ui/feature-gates/feature-gate-rustc_const_unstable.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
174 B
Rust
Raw Normal View History

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