diff options
| author | sobolevn <mail@sobolevn.me> | 2024-08-18 19:40:56 +0300 |
|---|---|---|
| committer | sobolevn <mail@sobolevn.me> | 2024-08-18 19:40:56 +0300 |
| commit | 4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a (patch) | |
| tree | e581e624059251f727e194c06430f7bfe7b7ff61 /tests | |
| parent | bfe7f070bd79a9373ab58d0e2f64ef3400834b68 (diff) | |
| download | rust-4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a.tar.gz rust-4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a.zip | |
Improve `collapsible_match` error message syntax
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/collapsible_match.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/collapsible_match.stderr b/tests/ui/collapsible_match.stderr index 01944baee79..1da78b56239 100644 --- a/tests/ui/collapsible_match.stderr +++ b/tests/ui/collapsible_match.stderr @@ -223,7 +223,7 @@ help: the outer pattern can be modified to include the inner pattern LL | if let Issue9647::A { a, .. } = x { | ^ replace this binding LL | if let Some(u) = a { - | ^^^^^^^ with this pattern, prefixed by a: + | ^^^^^^^ with this pattern, prefixed by `a`: error: this `if let` can be collapsed into the outer `if let` --> tests/ui/collapsible_match.rs:292:9 |
