]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0599]: no method named `foo` found for type `i32` in the current scope |
0731742a | 2 | --> $DIR/issue-25385.rs:2:23 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | ($e:expr) => { $e.foo() } |
e1599b0c | 5 | | ^^^ method not found in `i32` |
ff7c6d11 | 6 | ... |
0531ce1d | 7 | LL | foo!(a); |
c295e0f8 | 8 | | ------- in this macro invocation |
74b04a01 | 9 | | |
17df50a5 | 10 | = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) |
ff7c6d11 XL |
11 | |
12 | error[E0599]: no method named `foo` found for type `i32` in the current scope | |
0731742a | 13 | --> $DIR/issue-25385.rs:10:15 |
ff7c6d11 | 14 | | |
0531ce1d | 15 | LL | foo!(1i32.foo()); |
e1599b0c | 16 | | ^^^ method not found in `i32` |
ff7c6d11 XL |
17 | |
18 | error: aborting due to 2 previous errors | |
19 | ||
0531ce1d | 20 | For more information about this error, try `rustc --explain E0599`. |