fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: const-stable function cannot use `#[feature(const_fn_floating_point_arithmetic)]` 2 --> $DIR/internal-unstable-const.rs:10:5 3 | 4LL | 1.0 + 1.0 5 | ^^^^^^^^^ 6 | 7help: if it is not part of the public API, make this function unstably const 8 | 9LL + #[rustc_const_unstable(feature = "...", issue = "...")] 10LL | pub const fn foo() -> f32 { 11 | 12help: otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks 13 | 14LL + #[rustc_allow_const_fn_unstable(const_fn_floating_point_arithmetic)] 15LL | pub const fn foo() -> f32 { 16 | 17 18error: aborting due to previous error 19