Auto merge of #1870 - RalfJung:rustup, r=RalfJung

rustup

Cc https://github.com/rust-lang/rust/issues/88016
This commit is contained in:
bors 2021-08-14 12:49:46 +00:00
commit 13fae3d074
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
fa2692990c05652c7823c8d2afae501a00a69050

View File

@ -5,5 +5,5 @@ fn main() {
extern "C" {
fn FOO();
}
unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
unsafe { FOO() } //~ ERROR unsupported operation: can't call foreign function: FOO
}