]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-29181.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / 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`.