]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12997-1.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[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:6:1
3    |
4 LL | fn foo() { } //~ ERROR functions used as benches
5    | ^^^^^^^^^^^^
6
7 error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
8   --> $DIR/issue-12997-1.rs:9:1
9    |
10 LL | fn bar(x: isize, y: isize) { } //~ ERROR functions used as benches
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14