]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12997-2.stderr
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[rust.git] / src / test / ui / issues / issue-12997-2.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-12997-2.rs:8:1
3    |
4 LL | #[bench]
5    | -------- in this procedural macro expansion
6 LL | fn bar(x: isize) { }
7    | ^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `&mut Bencher`
8    |
9    = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.