fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/issue-12997-2.rs:8:1 3 | 4LL | #[bench] 5 | -------- in this procedural macro expansion 6LL | fn bar(x: isize) { } 7 | ^^^^^^^^^^^^^^^^^^^^ 8 | | 9 | expected `isize`, found `&mut Bencher` 10 | arguments to this function are incorrect 11 | 12note: function defined here 13 --> $DIR/issue-12997-2.rs:8:4 14 | 15LL | fn bar(x: isize) { } 16 | ^^^ -------- 17 = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info) 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0308`.