]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12997-1.stderr
Rollup merge of #104059 - Rejyr:rustc_middle-lint-typo, r=petrochenkov
[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