We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 042cbf1 commit 78b4c7bCopy full SHA for 78b4c7b
rust-version
@@ -1 +1 @@
1
-996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
+fa2692990c05652c7823c8d2afae501a00a69050
tests/compile-fail/function_calls/exported_symbol_wrong_type.rs
@@ -5,5 +5,5 @@ fn main() {
5
extern "C" {
6
fn FOO();
7
}
8
- 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
9
0 commit comments