diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-08-09 21:24:05 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-08-10 12:04:10 -0700 |
| commit | 54f1b4313013ef6993e070aeb6d71ac0cb269113 (patch) | |
| tree | c0212c9c4cc072892956f766011005772385bcde /src/test/ui/try-block | |
| parent | 6c0755a7dcbc087309035cb53893dd478bd3b8b1 (diff) | |
Add missing primary label
Diffstat (limited to 'src/test/ui/try-block')
| -rw-r--r-- | src/test/ui/try-block/try-block-in-edition2015.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/try-block/try-block-in-edition2015.stderr b/src/test/ui/try-block/try-block-in-edition2015.stderr index fe870ab737c..78cdfb2cc7f 100644 --- a/src/test/ui/try-block/try-block-in-edition2015.stderr +++ b/src/test/ui/try-block/try-block-in-edition2015.stderr @@ -11,7 +11,7 @@ error[E0574]: expected struct, variant or union type, found macro `try` --> $DIR/try-block-in-edition2015.rs:4:33 | LL | let try_result: Option<_> = try { - | ^^^ + | ^^^ not a struct, variant or union type | = note: if you want the `try` keyword, you need to be in the 2018 edition help: use `!` to invoke the macro |
