@@ -4,7 +4,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
44LL | const fn add(f: f32) -> f32 { f + 2.0 }
55 | ^^^^^^^
66 |
7- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
7+ = note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241 > for more information
88 = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
99
1010error[E0658]: floating point arithmetic is not allowed in constant functions
@@ -13,7 +13,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
1313LL | const fn sub(f: f32) -> f32 { 2.0 - f }
1414 | ^^^^^^^
1515 |
16- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
16+ = note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241 > for more information
1717 = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
1818
1919error[E0658]: floating point arithmetic is not allowed in constant functions
@@ -22,7 +22,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
2222LL | const fn mul(f: f32, g: f32) -> f32 { f * g }
2323 | ^^^^^
2424 |
25- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
25+ = note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241 > for more information
2626 = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
2727
2828error[E0658]: floating point arithmetic is not allowed in constant functions
@@ -31,7 +31,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
3131LL | const fn div(f: f32, g: f32) -> f32 { f / g }
3232 | ^^^^^
3333 |
34- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
34+ = note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241 > for more information
3535 = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
3636
3737error[E0658]: floating point arithmetic is not allowed in constant functions
@@ -40,7 +40,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
4040LL | const fn neg(f: f32) -> f32 { -f }
4141 | ^^
4242 |
43- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
43+ = note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241 > for more information
4444 = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
4545
4646error: aborting due to 5 previous errors
0 commit comments