rust/tests/ui/issues/issue-51874.rs
2023-01-11 09:32:08 +00:00

4 lines
102 B
Rust

fn main() {
let a = (1.0).pow(1.0); //~ ERROR can't call method `pow` on ambiguous numeric type
}