diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-08 01:58:28 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 06:53:39 +0200 |
| commit | 91c8b53f458ef6efb3640a359dba4015848fd9d1 (patch) | |
| tree | e2290604be8794c9bff156ac23f920355718ad06 /src/test/ui/error-codes | |
| parent | 75da43dc87a9fee3fc1ef5cffb4a6721ef4bd2ba (diff) | |
| download | rust-91c8b53f458ef6efb3640a359dba4015848fd9d1.tar.gz rust-91c8b53f458ef6efb3640a359dba4015848fd9d1.zip | |
--bless tests due to new subslice syntax.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0528.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0528.stderr b/src/test/ui/error-codes/E0528.stderr index a7205af5054..0f566091145 100644 --- a/src/test/ui/error-codes/E0528.stderr +++ b/src/test/ui/error-codes/E0528.stderr @@ -1,8 +1,8 @@ error[E0528]: pattern requires at least 3 elements but array has 2 --> $DIR/E0528.rs:6:10 | -LL | &[a, b, c, rest..] => { - | ^^^^^^^^^^^^^^^^^ pattern cannot match array of 2 elements +LL | &[a, b, c, rest @ ..] => { + | ^^^^^^^^^^^^^^^^^^^^ pattern cannot match array of 2 elements error: aborting due to previous error |
