Created
July 19, 2019 10:19
-
-
Save rust-play/0a345ee95be5db1a4983bfc08f268d71 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![allow(unreachable_code)] | |
fn main() { | |
println!("{:?}", { | |
yep | |
}); | |
} | |
/* ~~~~=== stderr ===~~~~ | |
Compiling playground v0.0.1 (/playground) | |
error[E0425]: cannot find value `yep` in this scope | |
--> src/main.rs:6:9 | |
| | |
6 | yep | |
| ^^^ not found in this scope | |
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 ===~~~~ | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment