Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- +nightly fn foo(0
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error: incorrect close delimiter: `}`
- --> src/main.rs:6:5
- |
- 6 | });
- | ^
- |
- note: unclosed delimiter
- --> src/main.rs:5:24
- |
- 5 | +nightly fn foo(0
- | ^
- error: expected expression, found `+`
- --> src/main.rs:5:9
- |
- 5 | +nightly fn foo(0
- | ^ expected expression
- error: aborting due to 2 previous errors
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment