summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-12997-1.stderr
blob: 00c605174fbb51133054059465c2888091a6fc06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
  --> $DIR/issue-12997-1.rs:8:1
   |
LL | fn foo() { }
   | ^^^^^^^^^^^^

error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
  --> $DIR/issue-12997-1.rs:11:1
   |
LL | fn bar(x: isize, y: isize) { }
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors