rust/tests/ui/test-attrs/issue-12997-1.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
411 B
Plaintext
Raw Normal View History

2018-07-16 05:11:54 +08:00
error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
--> $DIR/issue-12997-1.rs:8:1
2018-07-16 05:11:54 +08:00
|
2019-03-09 20:03:44 +08:00
LL | fn foo() { }
2018-07-16 05:11:54 +08:00
| ^^^^^^^^^^^^
error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
--> $DIR/issue-12997-1.rs:11:1
2018-07-16 05:11:54 +08:00
|
2019-03-09 20:03:44 +08:00
LL | fn bar(x: isize, y: isize) { }
2018-07-16 05:11:54 +08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors