summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/pat-lt-bracket-1.rs')
-rw-r--r--tests/ui/parser/pat-lt-bracket-1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/pat-lt-bracket-1.rs b/tests/ui/parser/pat-lt-bracket-1.rs
index 2e2001434..33da15adb 100644
--- a/tests/ui/parser/pat-lt-bracket-1.rs
+++ b/tests/ui/parser/pat-lt-bracket-1.rs
@@ -1,7 +1,7 @@
fn main() {
match 42 {
x < 7 => (),
- //~^ error: expected one of `=>`, `@`, `if`, or `|`, found `<`
+ //~^ error: expected one of `,`, `=>`, `@`, `if`, `|`, or `}`, found `<`
_ => ()
}
}