fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: expected at least one digit in exponent 2 --> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:47 3 | 4LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻² 5 | ^^^^^^ 6 7error: unknown start of token: \u{2212} 8 --> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:53 9 | 10LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻² 11 | ^ 12help: Unicode character '−' (Minus Sign) looks like '-' (Minus/Hyphen), but it is not 13 | 14LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e-11; // m³⋅kg⁻¹⋅s⁻² 15 | ^ 16 17error[E0277]: cannot subtract `{integer}` from `{float}` 18 --> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:53 19 | 20LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻² 21 | ^ no implementation for `{float} - {integer}` 22 | 23 = help: the trait `std::ops::Sub<{integer}>` is not implemented for `{float}` 24 25error: aborting due to 3 previous errors 26 27For more information about this error, try `rustc --explain E0277`.