]> git.lizzy.rs Git - rust.git/blob - tests/ui/did_you_mean/issue-49746-unicode-confusable-in-float-literal-expt.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / 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() {}