Auto merge of #57910 - Mark-Simulacrum:delete-test, r=petrochenkov
Delete long-ignored and useless test
cc @pnkfelix (https://github.com/rust-lang/rust/issues/13745#issuecomment-457599109)
r? @petrochenkov as you re-enabled this test in 21d67c45a3
, https://github.com/rust-lang/rust/pull/55236
This commit is contained in:
commit
c32515566f
2 changed files with 2 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
// blk region isn't supported in the front-end
|
||||
// This basically tests the parser's recovery on `'blk` in the wrong place.
|
||||
|
||||
fn foo(cond: bool) {
|
||||
// Here we will infer a type that uses the
|
||||
// region of the if stmt then block, but in the scope:
|
||||
let mut x;
|
||||
|
||||
if cond {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: expected `:`, found `[`
|
||||
--> $DIR/regions-out-of-scope-slice.rs:9:19
|
||||
--> $DIR/regions-out-of-scope-slice.rs:7:19
|
||||
|
|
||||
LL | x = &'blk [1,2,3]; //~ ERROR expected `:`, found `[`
|
||||
| ^ expected `:`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue