]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impossible_range.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / impossible_range.stderr
CommitLineData
ff7c6d11 1error[E0586]: inclusive range with no end
f035d41b 2 --> $DIR/impossible_range.rs:11:5
ff7c6d11 3 |
532ac7d7 4LL | ..=;
dfeec247 5 | ^^^ help: use `..` instead
ff7c6d11 6 |
dfeec247 7 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
ff7c6d11
XL
8
9error[E0586]: inclusive range with no end
f035d41b 10 --> $DIR/impossible_range.rs:18:6
ff7c6d11 11 |
532ac7d7 12LL | 0..=;
dfeec247 13 | ^^^ help: use `..` instead
ff7c6d11 14 |
dfeec247 15 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
ff7c6d11
XL
16
17error: aborting due to 2 previous errors
18
0531ce1d 19For more information about this error, try `rustc --explain E0586`.