We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6634a91 + 439a5f2 commit 8218853Copy full SHA for 8218853
src/test/compile-fail/unsupported-cast.rs
@@ -14,5 +14,5 @@
14
extern crate libc;
15
16
fn main() {
17
- 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.
18
}
0 commit comments