rust/tests/ui/test-attrs/issue-12997-1.stderr
2023-05-08 17:58:01 -03:00

15 lines
411 B
Plaintext

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