about summary refs log tree commit diff
path: root/tests/ui/abi/cannot-be-coroutine.i686.stderr
blob: 8c9292b6a32469808fe1cdd1d78a077f84fea569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: functions with the "x86-interrupt" ABI cannot be `async`
  --> $DIR/cannot-be-coroutine.rs:52:1
   |
LL | async extern "x86-interrupt" fn x86() {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: remove the `async` keyword from this definition
   |
LL - async extern "x86-interrupt" fn x86() {
LL + extern "x86-interrupt" fn x86() {
   |

error: requires `ResumeTy` lang_item
  --> $DIR/cannot-be-coroutine.rs:32:19
   |
LL |   async fn vanilla(){
   |  ___________________^
LL | |
LL | | }
   | |_^

error: aborting due to 2 previous errors