diff options
Diffstat (limited to 'src/test/ui/error-codes/E0029-teach.rs')
-rw-r--r-- | src/test/ui/error-codes/E0029-teach.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/error-codes/E0029-teach.rs b/src/test/ui/error-codes/E0029-teach.rs deleted file mode 100644 index 3ff8cb348..000000000 --- a/src/test/ui/error-codes/E0029-teach.rs +++ /dev/null @@ -1,11 +0,0 @@ -// compile-flags: -Z teach - -fn main() { - let s = "hoho"; - - match s { - "hello" ..= "world" => {} - //~^ ERROR only `char` and numeric types are allowed in range patterns - _ => {} - } -} |