]> git.lizzy.rs Git - rust.git/commitdiff
Update syntax of ignored test.
authorSteve Klabnik <steve@steveklabnik.com>
Fri, 16 Jan 2015 21:42:53 +0000 (16:42 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Sat, 17 Jan 2015 15:51:07 +0000 (10:51 -0500)
src/test/compile-fail/unsupported-cast.rs

index 205c912f5a098cf449992bb189c623db3e328864..ca17c898ec37cdf2e582b028cb79b4a18d6aa50b 100644 (file)
@@ -14,5 +14,5 @@
 extern crate libc;
 
 fn main() {
-  println!("{}", 1.0 as *libc::FILE); // Can't cast float to foreign.
+  println!("{:?}", 1.0 as *const libc::FILE); // Can't cast float to foreign.
 }