Skip to content

Commit c325155

Browse files
committed
Auto merge of #57910 - Mark-Simulacrum:delete-test, r=petrochenkov
Delete long-ignored and useless test cc @pnkfelix (#13745 (comment)) r? @petrochenkov as you re-enabled this test in 21d67c4, #55236
2 parents ec504de + e0bc0ba commit c325155

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/test/ui/parser/regions-out-of-scope-slice.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
// blk region isn't supported in the front-end
1+
// This basically tests the parser's recovery on `'blk` in the wrong place.
22

33
fn foo(cond: bool) {
4-
// Here we will infer a type that uses the
5-
// region of the if stmt then block, but in the scope:
64
let mut x;
75

86
if cond {

src/test/ui/parser/regions-out-of-scope-slice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: expected `:`, found `[`
2-
--> $DIR/regions-out-of-scope-slice.rs:9:19
2+
--> $DIR/regions-out-of-scope-slice.rs:7:19
33
|
44
LL | x = &'blk [1,2,3]; //~ ERROR expected `:`, found `[`
55
| ^ expected `:`

0 commit comments

Comments
 (0)