]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0599]: no method named `homura` found for type `{integer}` in the current scope |
0731742a | 2 | --> $DIR/issue-29181.rs:6:7 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | 0.homura(); |
e1599b0c | 5 | | ^^^^^^ method not found in `{integer}` |
b7449926 | 6 | |
72b1a166 FG |
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 | |
b7449926 | 19 | |
72b1a166 FG |
20 | Some errors have detailed explanations: E0599, E0689. |
21 | For more information about an error, try `rustc --explain E0599`. |