diff options
Diffstat (limited to 'src/test/ui/parser/range_inclusive.rs')
-rw-r--r-- | src/test/ui/parser/range_inclusive.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/parser/range_inclusive.rs b/src/test/ui/parser/range_inclusive.rs deleted file mode 100644 index bc6d2413d..000000000 --- a/src/test/ui/parser/range_inclusive.rs +++ /dev/null @@ -1,7 +0,0 @@ -// run-rustfix -// Make sure that inclusive ranges with no end point don't parse. - -pub fn main() { - for _ in 1..= {} //~ERROR inclusive range with no end - //~^HELP use `..` instead -} |