diff options
Diffstat (limited to 'tests/ui/error-codes/E0030.rs')
| -rw-r--r-- | tests/ui/error-codes/E0030.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0030.rs b/tests/ui/error-codes/E0030.rs new file mode 100644 index 00000000000..a5d8f87261b --- /dev/null +++ b/tests/ui/error-codes/E0030.rs @@ -0,0 +1,7 @@ +fn main() { + match 5u32 { + 1000 ..= 5 => {} + //~^ ERROR lower range bound must be less than or equal to upper + //~| ERROR lower range bound must be less than or equal to upper + } +} |
