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