Skip to content

Commit d1ab379

Browse files
committed
Update syntax of ignored test.
1 parent d5091c9 commit d1ab379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/unsupported-cast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
extern crate libc;
1515

1616
fn main() {
17-
println!("{}", 1.0 as *libc::FILE); // Can't cast float to foreign.
17+
println!("{:?}", 1.0 as *const libc::FILE); // Can't cast float to foreign.
1818
}

0 commit comments

Comments
 (0)