Open
Description
Given
#[bench]
fn bar(x: isize) { }
The current output is suboptimal:
error[E0308]: mismatched types
--> $DIR/issue-12997-2.rs:16:1
|
LL | fn bar(x: isize) { }
| ^^^^^^^^^^^^^^^^^^^^ expected isize, found mutable reference
|
= note: expected type `isize`
found type `&mut __test::test::Bencher`