@@ -4,7 +4,7 @@ error[E0658]: floating point arithmetic is not allowed in constant functions
4
4
LL | const fn add(f: f32) -> f32 { f + 2.0 }
5
5
| ^^^^^^^
6
6
|
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
8
8
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
9
9
10
10
error[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
13
13
LL | const fn sub(f: f32) -> f32 { 2.0 - f }
14
14
| ^^^^^^^
15
15
|
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
17
17
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
18
18
19
19
error[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
22
22
LL | const fn mul(f: f32, g: f32) -> f32 { f * g }
23
23
| ^^^^^
24
24
|
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
26
26
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
27
27
28
28
error[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
31
31
LL | const fn div(f: f32, g: f32) -> f32 { f / g }
32
32
| ^^^^^
33
33
|
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
35
35
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
36
36
37
37
error[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
40
40
LL | const fn neg(f: f32) -> f32 { -f }
41
41
| ^^
42
42
|
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
44
44
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
45
45
46
46
error: aborting due to 5 previous errors
0 commit comments