about summary refs log tree commit diff
path: root/tests/ui/consts/const-pattern-irrefutable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-pattern-irrefutable.rs')
-rw-r--r--tests/ui/consts/const-pattern-irrefutable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-pattern-irrefutable.rs b/tests/ui/consts/const-pattern-irrefutable.rs
index 54d2ad32386..c590ec8fcd3 100644
--- a/tests/ui/consts/const-pattern-irrefutable.rs
+++ b/tests/ui/consts/const-pattern-irrefutable.rs
@@ -1,6 +1,6 @@
 mod foo {
     pub const b: u8 = 2;
-    //~^ missing patterns are not covered because `c` is interpreted as a constant pattern, not a new variable
+    //~^ missing patterns are not covered because `b` is interpreted as a constant pattern, not a new variable
     pub const d: u8 = 2;
     //~^ missing patterns are not covered because `d` is interpreted as a constant pattern, not a new variable
 }