Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let y = 2 + {4};
- mod foo {
- pub const FOO: i32 = 2;
- }
- println!("{}", y + foo::FOO);
- const BAR: i32 = 10;
- let foo = 2;
- let bar = foo::FOO;
- let tmp = {let _b = ();};
- {;;;;;}
- {()}
- {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement