rust/src/test/ui/issues/issue-51874.rs
2018-12-25 21:08:33 -07: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
}