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.
2 parents 042cbf1 + 78b4c7b commit 13fae3dCopy full SHA for 13fae3d
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