fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
425 B14 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   |                   ^^^
6   |
7help: you must specify a concrete type for this numeric value, like `f32`
8   |
9LL |     let a = (1.0_f32).pow(1.0);
10   |              ^^^^^^^
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0689`.