diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-01 10:22:16 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-01 10:22:16 +0300 |
| commit | 1c5de64814d72effc6890ca823fa4d248041a0bd (patch) | |
| tree | 9375885343e27ab26b20dfe5a3714e00d5d378d0 /tests/ui/pattern/byte-string-mutability-mismatch.stderr | |
| parent | b01b98f9f0b350badf8390e7950759d78484622d (diff) | |
| parent | 6e23095adf9209614a45f7f75fea36dad7b92afb (diff) | |
Merge from rust-lang/rust
Diffstat (limited to 'tests/ui/pattern/byte-string-mutability-mismatch.stderr')
| -rw-r--r-- | tests/ui/pattern/byte-string-mutability-mismatch.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/pattern/byte-string-mutability-mismatch.stderr b/tests/ui/pattern/byte-string-mutability-mismatch.stderr index ee796278e69..f64b452b594 100644 --- a/tests/ui/pattern/byte-string-mutability-mismatch.stderr +++ b/tests/ui/pattern/byte-string-mutability-mismatch.stderr @@ -1,5 +1,5 @@ error[E0308]: mismatched types - --> $DIR/byte-string-mutability-mismatch.rs:8:9 + --> $DIR/byte-string-mutability-mismatch.rs:10:9 | LL | match &mut val { | -------- this expression has type `&mut [u8; 2]` @@ -10,7 +10,7 @@ LL | b"a\n" => {}, found reference `&'static _` error[E0308]: mismatched types - --> $DIR/byte-string-mutability-mismatch.rs:14:10 + --> $DIR/byte-string-mutability-mismatch.rs:16:10 | LL | match &mut val[..] { | ------------ this expression has type `&mut [u8]` |
