From 4e6fc6fa052d3278a5bf11ba805d292f5a5ecb4a Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 18 Aug 2024 19:40:56 +0300 Subject: Improve `collapsible_match` error message syntax --- tests/ui/collapsible_match.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit 1.4.1-3-g733a5