diff options
| author | bors <bors@rust-lang.org> | 2023-04-25 13:45:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-25 13:45:20 +0000 |
| commit | a7aa20517c80161a2ffe7c0c25fc2e0140c43c90 (patch) | |
| tree | c4d98f7debe1781462a210a8072a038fe5a4bbe6 /tests | |
| parent | 20d90b14ffe8c667757a70c08e2d9736ee89f493 (diff) | |
| parent | 06ff310cf95349da078e4cac0c5377172766fa94 (diff) | |
| download | rust-a7aa20517c80161a2ffe7c0c25fc2e0140c43c90.tar.gz rust-a7aa20517c80161a2ffe7c0c25fc2e0140c43c90.zip | |
Auto merge of #110325 - obeis:hir-analysis-migrate-diagnostics-4, r=davidtwco
Migrate `rustc_hir_analysis` to session diagnostic [Part 4] Part 4: Finishing `check/mod.rs` file r? `@compiler-errors`
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/repr/repr-transparent.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/repr/transparent-enum-too-many-variants.stderr | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/repr/repr-transparent.stderr b/tests/ui/repr/repr-transparent.stderr index f1c570b9523..cb1e2337776 100644 --- a/tests/ui/repr/repr-transparent.stderr +++ b/tests/ui/repr/repr-transparent.stderr @@ -58,7 +58,7 @@ error[E0731]: transparent enum needs exactly one variant, but has 2 LL | enum MultipleVariants { | ^^^^^^^^^^^^^^^^^^^^^ needs exactly one variant, but has 2 LL | Foo(String), - | --- + | --- variant here LL | Bar, | --- too many variants in `MultipleVariants` diff --git a/tests/ui/repr/transparent-enum-too-many-variants.stderr b/tests/ui/repr/transparent-enum-too-many-variants.stderr index fb44757efaf..1a500257f48 100644 --- a/tests/ui/repr/transparent-enum-too-many-variants.stderr +++ b/tests/ui/repr/transparent-enum-too-many-variants.stderr @@ -5,6 +5,8 @@ LL | enum Foo { | ^^^^^^^^ needs exactly one variant, but has 2 LL | A(u8), B(u8), | - - too many variants in `Foo` + | | + | variant here error: aborting due to previous error |
