]> git.lizzy.rs Git - rust.git/commitdiff
rustup
authorRalf Jung <post@ralfj.de>
Mon, 16 Aug 2021 15:09:21 +0000 (17:09 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 16 Aug 2021 15:09:21 +0000 (17:09 +0200)
rust-version
tests/compile-fail/function_calls/exported_symbol_wrong_type.rs

index 1cf2fb4b0ff9ad2dd9d113e6f6754eb451bf15dc..6b176cc97bdbb92914491e22df09f2dfc957d69f 100644 (file)
@@ -1 +1 @@
-fa2692990c05652c7823c8d2afae501a00a69050
+73d96b090bb68065cd3a469b27cbd568e39bf0e7
index 0a493e35a7ce6d12ec438da6a74fbea692f733b0..3ffd506c94bb57df8b9c146ef93d3f0a2c59de4c 100644 (file)
@@ -5,5 +5,5 @@ fn main() {
     extern "C" {
         fn FOO();
     }
-    unsafe { FOO() } //~ ERROR unsupported operation: can't call foreign function: FOO
+    unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
 }