1 error: expected identifier, found keyword `let`
2 --> $DIR/try-block-in-edition2015.rs:6:9
4 LL | let try_result: Option<_> = try {
5 | --- while parsing this struct
8 | ^^^ expected identifier, found keyword
10 error[E0574]: expected struct, variant or union type, found macro `try`
11 --> $DIR/try-block-in-edition2015.rs:4:33
13 LL | let try_result: Option<_> = try {
16 = note: if you want the `try` keyword, you need to be in the 2018 edition
17 help: use `!` to invoke the macro
19 LL | let try_result: Option<_> = try! {
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0574`.