]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/cast_fn_ptr5.rs
Auto merge of #1308 - RalfJung:miri, r=RalfJung
[rust.git] / tests / compile-fail / cast_fn_ptr5.rs
index e4ac95e676764bdcfc19b839acb1519f4a9d7044..fb2b4403363ef22e4389c0891cc830ddf5bddb3d 100644 (file)
@@ -5,5 +5,5 @@ fn f() -> u32 { 42 }
         std::mem::transmute::<fn() -> u32, fn()>(f)
     };
 
-    g() //~ ERROR tried to call a function with return type u32 passing return place of type ()
+    g() //~ ERROR calling a function with return type u32 passing return place of type ()
 }