fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: expected identifier, found keyword `let` 2 --> $DIR/try-block-in-edition2015.rs:6:9 3 | 4LL | let try_result: Option<_> = try { 5 | --- while parsing this struct 6LL | 7LL | let x = 5; 8 | ^^^ expected identifier, found keyword 9help: you can escape reserved keywords to use them as identifiers 10 | 11LL | r#let x = 5; 12 | ^^^^^ 13 14error[E0574]: expected struct, variant or union type, found macro `try` 15 --> $DIR/try-block-in-edition2015.rs:4:33 16 | 17LL | let try_result: Option<_> = try { 18 | ^^^ help: use `!` to invoke the macro: `try!` 19 | 20 = note: if you want the `try` keyword, you need to be in the 2018 edition 21 22error: aborting due to 2 previous errors 23