diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-10 16:18:01 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 06:53:39 +0200 |
| commit | acc6a6d8cb7f2d05cacb230d712e7a150fc68bb9 (patch) | |
| tree | ad103c4dde50b1e8adc44fa63feca1c6f64edc54 /src/test/ui/parser | |
| parent | 1060513ddc9a8689730a993c8a91e574c4879607 (diff) | |
| download | rust-acc6a6d8cb7f2d05cacb230d712e7a150fc68bb9.tar.gz rust-acc6a6d8cb7f2d05cacb230d712e7a150fc68bb9.zip | |
--bless tests after rebase.
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/match-vec-invalid.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/parser/pat-lt-bracket-6.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/parser/pat-tuple-4.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/parser/pat-tuple-5.stderr | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/parser/match-vec-invalid.stderr b/src/test/ui/parser/match-vec-invalid.stderr index 0de9a752347..49d5a83c5a9 100644 --- a/src/test/ui/parser/match-vec-invalid.stderr +++ b/src/test/ui/parser/match-vec-invalid.stderr @@ -11,7 +11,7 @@ LL | [1, tail @ .., tail @ ..] => {}, | ^^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/62254 - = help: add #![feature(slice_patterns)] to the crate attributes to enable + = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable --> $DIR/match-vec-invalid.rs:4:24 @@ -20,7 +20,7 @@ LL | [1, tail @ .., tail @ ..] => {}, | ^^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/62254 - = help: add #![feature(slice_patterns)] to the crate attributes to enable + = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error: `..` can only be used once per slice pattern --> $DIR/match-vec-invalid.rs:4:31 diff --git a/src/test/ui/parser/pat-lt-bracket-6.stderr b/src/test/ui/parser/pat-lt-bracket-6.stderr index d526addeb79..45270b314a9 100644 --- a/src/test/ui/parser/pat-lt-bracket-6.stderr +++ b/src/test/ui/parser/pat-lt-bracket-6.stderr @@ -23,7 +23,7 @@ LL | let Test(&desc[..]) = x; | ^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/62254 - = help: add #![feature(slice_patterns)] to the crate attributes to enable + = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error: aborting due to 4 previous errors diff --git a/src/test/ui/parser/pat-tuple-4.stderr b/src/test/ui/parser/pat-tuple-4.stderr index 2e1c167b871..d126163476c 100644 --- a/src/test/ui/parser/pat-tuple-4.stderr +++ b/src/test/ui/parser/pat-tuple-4.stderr @@ -23,7 +23,7 @@ LL | (.. pat) => {} | ^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/37854 - = help: add #![feature(exclusive_range_pattern)] to the crate attributes to enable + = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0029]: only char and numeric types are allowed in range patterns --> $DIR/pat-tuple-4.rs:3:10 diff --git a/src/test/ui/parser/pat-tuple-5.stderr b/src/test/ui/parser/pat-tuple-5.stderr index 9f0118e9573..06f2a59d909 100644 --- a/src/test/ui/parser/pat-tuple-5.stderr +++ b/src/test/ui/parser/pat-tuple-5.stderr @@ -23,7 +23,7 @@ LL | (pat ..) => {} | ^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/37854 - = help: add #![feature(exclusive_range_pattern)] to the crate attributes to enable + = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0029]: only char and numeric types are allowed in range patterns --> $DIR/pat-tuple-5.rs:3:10 |
