]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-12997-2.stderr
New upstream version 1.55.0+dfsg1
[rustc.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`.