Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- std::mem::size_of::<&mut []>::()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (/playground)
- error: unmatched angle bracket
- --> src/main.rs:6:28
- |
- 6 | std::mem::size_of::<&mut []>::()
- | ^ help: remove extra angle bracket
- error: expected type, found `]`
- --> src/main.rs:6:35
- |
- 6 | std::mem::size_of::<&mut []>::()
- | ^
- error: aborting due to 2 previous errors
- 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