summaryrefslogtreecommitdiffstats
path: root/src/test/ui/abi/issues/issue-22565-rust-call.stderr
blob: 3eee10bc5e95191209b38081c849179bc01edb5c (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
error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
  --> $DIR/issue-22565-rust-call.rs:3:1
   |
LL | extern "rust-call" fn b(_i: i32) {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
  --> $DIR/issue-22565-rust-call.rs:9:5
   |
LL |     extern "rust-call" fn b() {}
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
  --> $DIR/issue-22565-rust-call.rs:16:5
   |
LL |     extern "rust-call" fn bar() {}
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: functions with the "rust-call" ABI must take a single non-self argument that is a tuple
  --> $DIR/issue-22565-rust-call.rs:21:5
   |
LL |     extern "rust-call" fn a() {}
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors