about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-08-18 19:40:56 +0300
committersobolevn <mail@sobolevn.me>2024-08-18 19:40:56 +0300
commit4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a (patch)
treee581e624059251f727e194c06430f7bfe7b7ff61 /tests
parentbfe7f070bd79a9373ab58d0e2f64ef3400834b68 (diff)
downloadrust-4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a.tar.gz
rust-4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a.zip
Improve `collapsible_match` error message syntax
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/collapsible_match.stderr2
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