]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/cast_fn_ptr4.rs
Auto merge of #1308 - RalfJung:miri, r=RalfJung
[rust.git] / tests / compile-fail / cast_fn_ptr4.rs
index f9a2cf9f6965e5bed02e30eccc7204f8472fe6d8..22a36a71cef14aefc0fb4675bcbbc375d0297dc2 100644 (file)
@@ -5,5 +5,5 @@ fn f(_ : *const [i32]) {}
         std::mem::transmute::<fn(*const [i32]), fn(*const i32)>(f)
     };
 
-    g(&42 as *const i32) //~ ERROR tried to call a function with argument of type *const [i32] passing data of type *const i32
+    g(&42 as *const i32) //~ ERROR calling a function with argument of type *const [i32] passing data of type *const i32
 }