]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range_inclusive.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / parser / range_inclusive.rs
1 // run-rustfix
2 // Make sure that inclusive ranges with no end point don't parse.
3
4 pub fn main() {
5     for _ in 1..= {} //~ERROR inclusive range with no end
6                      //~^HELP use `..` instead
7 }