summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/issue-49746-unicode-confusable-in-float-literal-expt.rs
blob: 66d562d2eb51985020bf9721a3551eafff28ca58 (plain)
1
2
3
4
5
6
const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e11; // m³⋅kg⁻¹⋅s⁻²
//~^ ERROR expected at least one digit in exponent
//~| ERROR unknown start of token: \u{2212}
//~| ERROR cannot subtract `{integer}` from `{float}`

fn main() {}