fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
713 B21 linesraw
1error[E0599]: no method named `homura` found for type `{integer}` in the current scope
2  --> $DIR/issue-29181.rs:6:7
3   |
4LL |     0.homura();
5   |       ^^^^^^ method not found in `{integer}`
6
7error[E0689]: can't call method `exp` on ambiguous numeric type `{float}`
8  --> $DIR/issue-29181.rs:8:30
9   |
10LL |     let _ = |x: f64| x * 2.0.exp();
11   |                              ^^^
12   |
13help: you must specify a concrete type for this numeric value, like `f32`
14   |
15LL |     let _ = |x: f64| x * 2.0_f32.exp();
16   |                          ^^^^^^^
17
18error: aborting due to 2 previous errors
19
20Some errors have detailed explanations: E0599, E0689.
21For more information about an error, try `rustc --explain E0599`.