Skip to content

Commit 78b4c7b

Browse files
committed
rustup
1 parent 042cbf1 commit 78b4c7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
1+
fa2692990c05652c7823c8d2afae501a00a69050

tests/compile-fail/function_calls/exported_symbol_wrong_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ fn main() {
55
extern "C" {
66
fn FOO();
77
}
8-
unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
8+
unsafe { FOO() } //~ ERROR unsupported operation: can't call foreign function: FOO
99
}

0 commit comments

Comments
 (0)