fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
420 B13 linesraw
1error[E0689]: can't call method `pow` on ambiguous numeric type `{float}`
2  --> $DIR/issue-51874.rs:2:19
3   |
4LL |     let a = (1.0).pow(1.0);
5   |                   ^^^
6help: you must specify a concrete type for this numeric value, like `f32`
7   |
8LL |     let a = (1.0_f32).pow(1.0);
9   |              ^^^^^^^
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0689`.