diff options
| author | Rune Tynan <runetynan@gmail.com> | 2020-12-03 19:59:39 -0500 |
|---|---|---|
| committer | Rune Tynan <runetynan@gmail.com> | 2020-12-03 19:59:39 -0500 |
| commit | d41122a9182bc2ab7e3e427f865a123d633301a0 (patch) | |
| tree | 4197368628663c06162eb95c0c055a9f70641acc | |
| parent | 9908f593195f8241a97fe7f453ade9a54510371b (diff) | |
| download | rust-d41122a9182bc2ab7e3e427f865a123d633301a0.tar.gz rust-d41122a9182bc2ab7e3e427f865a123d633301a0.zip | |
Update stderr
| -rw-r--r-- | src/test/ui/abi/issues/issue-22565-rust-call.stderr | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/test/ui/abi/issues/issue-22565-rust-call.stderr b/src/test/ui/abi/issues/issue-22565-rust-call.stderr index 31fb035eb99..f7c3d1de793 100644 --- a/src/test/ui/abi/issues/issue-22565-rust-call.stderr +++ b/src/test/ui/abi/issues/issue-22565-rust-call.stderr @@ -4,5 +4,23 @@ error: A function with the "rust-call" ABI must take a single non-self argument LL | extern "rust-call" fn b(_i: i32) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: A function 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: A function 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: A function 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 |
