1 error[E0308]: mismatched types
2 --> $DIR/issue-12997-2.rs:8:1
5 | -------- in this procedural macro expansion
6 LL | fn bar(x: isize) { }
7 | ^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `&mut Bencher`
9 = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info)
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0308`.