diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-03-22 15:36:54 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-03-22 15:36:54 -0700 |
| commit | 854b78fe22af2ed010cc4367c3456eccf427b6dc (patch) | |
| tree | ba28904fbb2de8e40498a9f397499d7856294742 /src/test/ui/try-block | |
| parent | 94bbd46682fdf37aae7fe661e9f925649d439c36 (diff) | |
| download | rust-854b78fe22af2ed010cc4367c3456eccf427b6dc.tar.gz rust-854b78fe22af2ed010cc4367c3456eccf427b6dc.zip | |
Normalize wording of privacy access labels
Diffstat (limited to 'src/test/ui/try-block')
| -rw-r--r-- | src/test/ui/try-block/try-block-in-edition2015.stderr | 6 |
1 files changed, 5 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 9b4fe2c1205..fe870ab737c 100644 --- a/src/test/ui/try-block/try-block-in-edition2015.stderr +++ b/src/test/ui/try-block/try-block-in-edition2015.stderr @@ -11,9 +11,13 @@ 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 { - | ^^^ help: use `!` to invoke the macro: `try!` + | ^^^ | = note: if you want the `try` keyword, you need to be in the 2018 edition +help: use `!` to invoke the macro + | +LL | let try_result: Option<_> = try! { + | ^ error: aborting due to 2 previous errors |
