mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
rustup
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
|
||||
fa2692990c05652c7823c8d2afae501a00a69050
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user