]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0586.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0586.stderr
1 error[E0586]: inclusive range with no end
2 --> $DIR/E0586.rs:3:22
3 |
4 LL | let x = &tmp[1..=]; //~ ERROR E0586
5 | ^
6 |
7 = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0586`.