]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-29181.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-29181.stderr
CommitLineData
b7449926 1error[E0599]: no method named `homura` found for type `{integer}` in the current scope
0731742a 2 --> $DIR/issue-29181.rs:6:7
b7449926 3 |
532ac7d7 4LL | 0.homura();
e1599b0c 5 | ^^^^^^ method not found in `{integer}`
b7449926 6
72b1a166
FG
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
b7449926 19
72b1a166
FG
20Some errors have detailed explanations: E0599, E0689.
21For more information about an error, try `rustc --explain E0599`.