We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5091c9 commit d1ab379Copy full SHA for d1ab379
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