1 error: `foo` is not yet stable as a const fn
2 --> $DIR/min_const_fn_libstd_stability.rs:16:25
4 LL | const fn bar() -> u32 { foo() }
7 = help: Const-stable functions can only call other const-stable functions
9 error: `foo2` is not yet stable as a const fn
10 --> $DIR/min_const_fn_libstd_stability.rs:24:26
12 LL | const fn bar2() -> u32 { foo2() }
15 = help: Const-stable functions can only call other const-stable functions
17 error: const-stable function cannot use `#[feature(const_fn_floating_point_arithmetic)]`
18 --> $DIR/min_const_fn_libstd_stability.rs:29:26
20 LL | const fn bar3() -> u32 { (5f32 + 6f32) as u32 }
23 help: if it is not part of the public API, make this function unstably const
25 LL | #[rustc_const_unstable(feature = "...", issue = "...")]
27 help: otherwise `#[allow_internal_unstable]` can be used to bypass stability checks
29 LL | #[allow_internal_unstable(const_fn_floating_point_arithmetic)]
32 error: `foo2_gated` is not yet stable as a const fn
33 --> $DIR/min_const_fn_libstd_stability.rs:39:32
35 LL | const fn bar2_gated() -> u32 { foo2_gated() }
38 = help: Const-stable functions can only call other const-stable functions
40 error: aborting due to 4 previous errors