Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- std::mem::size_of::<Option<!>>()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0658]: The `!` type is experimental (see issue #35121)
- --> src/main.rs:6:36
- |
- 6 | std::mem::size_of::<Option<!>>()
- | ^
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0658`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment