Remove restricted keyword tests
This commit is contained in:
parent
bc96ea2a18
commit
c7e5c870f3
|
@ -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…
Reference in New Issue