Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- let _ = Equal;
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0425]: cannot find value `Equal` in this scope
- --> src/main.rs:6:17
- |
- 6 | let _ = Equal;
- | ^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 4 | use std::cmp::Ordering::Equal;
- |
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0425`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment