diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-11-09 06:01:10 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-11-16 17:00:23 +0000 |
| commit | 4f7dddd4a177c761f8576e6c1fedfd73db8bfe7d (patch) | |
| tree | c52a7af2bb1d05223a6debec8e90393ff5622436 /tests/ui/tuple | |
| parent | 8bd8f3b090507f87c6458ed507ee36ddd4a00767 (diff) | |
| download | rust-4f7dddd4a177c761f8576e6c1fedfd73db8bfe7d.tar.gz rust-4f7dddd4a177c761f8576e6c1fedfd73db8bfe7d.zip | |
recover primary span label
Diffstat (limited to 'tests/ui/tuple')
| -rw-r--r-- | tests/ui/tuple/index-invalid.stderr | 6 | ||||
| -rw-r--r-- | tests/ui/tuple/tuple-index-not-tuple.stderr | 4 | ||||
| -rw-r--r-- | tests/ui/tuple/tuple-index-out-of-bounds.stderr | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/ui/tuple/index-invalid.stderr b/tests/ui/tuple/index-invalid.stderr index 8d22f458a6c..ae2c275f52c 100644 --- a/tests/ui/tuple/index-invalid.stderr +++ b/tests/ui/tuple/index-invalid.stderr @@ -2,19 +2,19 @@ error[E0609]: no field `1` on type `(((),),)` --> $DIR/index-invalid.rs:2:22 | LL | let _ = (((),),).1.0; - | ^ + | ^ unknown field error[E0609]: no field `1` on type `((),)` --> $DIR/index-invalid.rs:4:24 | LL | let _ = (((),),).0.1; - | ^ + | ^ unknown field error[E0609]: no field `000` on type `(((),),)` --> $DIR/index-invalid.rs:6:22 | LL | let _ = (((),),).000.000; - | ^^^ + | ^^^ unknown field error: aborting due to 3 previous errors diff --git a/tests/ui/tuple/tuple-index-not-tuple.stderr b/tests/ui/tuple/tuple-index-not-tuple.stderr index 0f81f2a1bb8..a267e41b1bc 100644 --- a/tests/ui/tuple/tuple-index-not-tuple.stderr +++ b/tests/ui/tuple/tuple-index-not-tuple.stderr @@ -2,7 +2,7 @@ error[E0609]: no field `0` on type `Point` --> $DIR/tuple-index-not-tuple.rs:6:12 | LL | origin.0; - | ^ + | ^ unknown field | help: a field with a similar name exists | @@ -13,7 +13,7 @@ error[E0609]: no field `0` on type `Empty` --> $DIR/tuple-index-not-tuple.rs:8:11 | LL | Empty.0; - | ^ + | ^ unknown field error: aborting due to 2 previous errors diff --git a/tests/ui/tuple/tuple-index-out-of-bounds.stderr b/tests/ui/tuple/tuple-index-out-of-bounds.stderr index 7fc8289aaa0..96090435d06 100644 --- a/tests/ui/tuple/tuple-index-out-of-bounds.stderr +++ b/tests/ui/tuple/tuple-index-out-of-bounds.stderr @@ -2,7 +2,7 @@ error[E0609]: no field `2` on type `Point` --> $DIR/tuple-index-out-of-bounds.rs:7:12 | LL | origin.2; - | ^ + | ^ unknown field | help: a field with a similar name exists | @@ -13,7 +13,7 @@ error[E0609]: no field `2` on type `({integer}, {integer})` --> $DIR/tuple-index-out-of-bounds.rs:12:11 | LL | tuple.2; - | ^ + | ^ unknown field error: aborting due to 2 previous errors |
