]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12997-1.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / issues / issue-12997-1.stderr
1 error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
2   --> $DIR/issue-12997-1.rs:8:1
3    |
4 LL | fn foo() { }
5    | ^^^^^^^^^^^^
6
7 error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
8   --> $DIR/issue-12997-1.rs:11:1
9    |
10 LL | fn bar(x: isize, y: isize) { }
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14