Skip to content

Commit 41da0d9

Browse files
committed
Update expected errors for existing tests
1 parent 103e8cb commit 41da0d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lowering/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ fn scalars() {
471471
}
472472

473473
error_msg {
474-
"parse error: UnrecognizedToken { token: (8, Token(51, \"i32\"), 11), expected: [\"r#\\\"([A-Za-z]|_)([A-Za-z0-9]|_)*\\\"#\"] }"
474+
"parse error: UnrecognizedToken { token: (8, Token(52, \"i32\"), 11), expected: [\"r#\\\"([A-Za-z]|_)([A-Za-z0-9]|_)*\\\"#\"] }"
475475
}
476476
}
477477
}
@@ -495,7 +495,7 @@ fn raw_pointers() {
495495
struct *const i32 { }
496496
}
497497
error_msg {
498-
"parse error: UnrecognizedToken { token: (8, Token(7, \"*\"), 9), expected: [\"r#\\\"([A-Za-z]|_)([A-Za-z0-9]|_)*\\\"#\"] }"
498+
"parse error: UnrecognizedToken { token: (8, Token(8, \"*\"), 9), expected: [\"r#\\\"([A-Za-z]|_)([A-Za-z0-9]|_)*\\\"#\"] }"
499499
}
500500
}
501501

@@ -505,7 +505,7 @@ fn raw_pointers() {
505505
impl Foo for *i32 { }
506506
}
507507
error_msg {
508-
"parse error: UnrecognizedToken { token: (30, Token(51, \"i32\"), 33), expected: [\"\\\"const\\\"\", \"\\\"mut\\\"\"] }"
508+
"parse error: UnrecognizedToken { token: (30, Token(52, \"i32\"), 33), expected: [\"\\\"const\\\"\", \"\\\"mut\\\"\"] }"
509509
}
510510
}
511511
}

0 commit comments

Comments
 (0)