]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/cast_fn_ptr3.rs
Auto merge of #1308 - RalfJung:miri, r=RalfJung
[rust.git] / tests / compile-fail / cast_fn_ptr3.rs
index 29507e7c7cf54c6e7b92065c02df68cc6c0e4838..3523db24fa3207c5c3efee0642f78a6677ee657d 100644 (file)
@@ -5,6 +5,6 @@ fn f(_ : (i32,i32)) {}
         std::mem::transmute::<fn((i32,i32)), fn()>(f)
     };
 
-    g() //~ ERROR tried to call a function with incorrect number of arguments
+    g() //~ ERROR calling a function with fewer arguments than it requires
 }