rust/tests/ui/async-await/no-const-async.stderr

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

12 lines
281 B
Plaintext
Raw Normal View History

error: functions cannot be both `const` and `async`
--> $DIR/no-const-async.rs:4:5
2019-06-24 19:48:21 -05:00
|
LL | pub const async fn x() {}
| ----^^^^^-^^^^^----------
| | |
| | `async` because of this
| `const` because of this
2019-06-24 19:48:21 -05:00
error: aborting due to previous error
2019-06-24 19:48:21 -05:00