Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- ::std::option::Option::<()>::None
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0109]: type parameters are not allowed on this type
- --> src/main.rs:5:33
- |
- 5 | ::std::option::Option::<()>::None
- | ^^ type parameter not allowed
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0109`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment