mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Remove restricted keyword tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user