Remove restricted keyword tests
This commit is contained in:
parent
bc96ea2a18
commit
c7e5c870f3
2 changed files with 0 additions and 12 deletions
|
@ -1,7 +0,0 @@
|
|||
// error-pattern:found `fail` in restricted position
|
||||
|
||||
fn main() {
|
||||
match true {
|
||||
{fail} { }
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
// error-pattern:found `fail` in restricted position
|
||||
|
||||
fn main() {
|
||||
enum fail = int;
|
||||
}
|
Loading…
Add table
Reference in a new issue