From 439a5f224755bcdf95e6a19f02aea23287c8597b Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 16 Jan 2015 16:42:53 -0500 Subject: [PATCH] Update syntax of ignored test. --- src/test/compile-fail/unsupported-cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/compile-fail/unsupported-cast.rs b/src/test/compile-fail/unsupported-cast.rs index 205c912f5a098..ca17c898ec37c 100644 --- a/src/test/compile-fail/unsupported-cast.rs +++ b/src/test/compile-fail/unsupported-cast.rs @@ -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. }