1 error[E0308]: mismatched types
2 --> $DIR/issue-12997-2.rs:8:1
4 LL | fn bar(x: isize) { }
5 | ^^^^^^^^^^^^^^^^^^^^ expected isize, found &mut test::Bencher
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0308`.