blob: a85f2f4ad30eaaa24389eb7b2244d21da4f6be8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Test internal const fn feature gate.
#![feature(staged_api)]
#![feature(const_fn)]
//#![feature(rustc_const_unstable)]
#[stable(feature="zing", since="1.0.0")]
#[rustc_const_unstable(feature="fzzzzzt")] //~ERROR internal feature
pub const fn bazinga() {}
fn main() {
}
|