]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-12997-2.stderr
New upstream version 1.63.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 | ^^^^^^^^^^^^^^^^^^^^
8 | |
9 | expected `isize`, found `&mut Bencher`
10 | arguments to this function are incorrect
11 |
12 note: function defined here
13 --> $DIR/issue-12997-2.rs:8:4
14 |
15 LL | fn bar(x: isize) { }
16 | ^^^ --------
17 = note: this error originates in the attribute macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info)
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0308`.