Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- let a = 360.0f32; print!("{} ", a as u8); let a = 360.0f32 as u8; print!("{} ", a); print!("{}" 360.0f32 as u8);
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (/playground)
- error: expected token: `,`
- --> src/main.rs:6:105
- |
- 6 | let a = 360.0f32; print!("{} ", a as u8); let a = 360.0f32 as u8; print!("{} ", a); print!("{}" 360.0f32 as u8);
- | ^^^^^^^^
- error: aborting due to previous error
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement