Skip to content

Commit 9a6a511

Browse files
committed
rustup
1 parent e8ac524 commit 9a6a511

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-
fa2692990c05652c7823c8d2afae501a00a69050
1+
73d96b090bb68065cd3a469b27cbd568e39bf0e7

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 unsupported operation: can't call foreign function: FOO
8+
unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
99
}

0 commit comments

Comments
 (0)