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