]> git.lizzy.rs Git - rust.git/blob - src/test/ui/did_you_mean/issue-49746-unicode-confusable-in-float-literal-expt.rs
Test `expect` with `forbid` and fix doc errors (RFC-2383)
[rust.git] / src / test / ui / did_you_mean / issue-49746-unicode-confusable-in-float-literal-expt.rs
1 const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻²
2 //~^ ERROR expected at least one digit in exponent
3 //~| ERROR unknown start of token: \u{2212}
4 //~| ERROR cannot subtract `{integer}` from `{float}`
5
6 fn main() {}