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
283 B
Plaintext
Raw Normal View History

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