about summary refs log tree commit diff
path: root/tests/ui/abi/cannot-be-coroutine.riscv32.stderr
blob: 1b18bc51f838173269c51cf636103c85046d751e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error: functions with the "riscv-interrupt-m" ABI cannot be `async`
  --> $DIR/cannot-be-coroutine.rs:44:1
   |
LL | async extern "riscv-interrupt-m" fn riscv_m() {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: remove the `async` keyword from this definition
   |
LL - async extern "riscv-interrupt-m" fn riscv_m() {
LL + extern "riscv-interrupt-m" fn riscv_m() {
   |

error: functions with the "riscv-interrupt-s" ABI cannot be `async`
  --> $DIR/cannot-be-coroutine.rs:48:1
   |
LL | async extern "riscv-interrupt-s" fn riscv_s() {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: remove the `async` keyword from this definition
   |
LL - async extern "riscv-interrupt-s" fn riscv_s() {
LL + extern "riscv-interrupt-s" fn riscv_s() {
   |

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

error: aborting due to 3 previous errors