Skip to content

Commit 8218853

Browse files
committed
Merge pull request #21262 from steveklabnik/update_test
Update syntax of ignored test. Reviewed-by: alexcrichton
2 parents 6634a91 + 439a5f2 commit 8218853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)