fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0599]: no method named `foo` found for type `i32` in the current scope 2 --> $DIR/issue-25385.rs:2:23 3 | 4LL | ($e:expr) => { $e.foo() } 5 | ^^^ method not found in `i32` 6... 7LL | foo!(a); 8 | -------- in this macro invocation 9 10error[E0599]: no method named `foo` found for type `i32` in the current scope 11 --> $DIR/issue-25385.rs:10:15 12 | 13LL | foo!(1i32.foo()); 14 | ^^^ method not found in `i32` 15 16error: aborting due to 2 previous errors 17 18For more information about this error, try `rustc --explain E0599`.