]> git.proxmox.com Git - rustc.git/blame - src/test/ui/slice-2.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / slice-2.stderr
CommitLineData
b7449926 1error[E0608]: cannot index into a value of type `Foo`
0731742a 2 --> $DIR/slice-2.rs:7:6
b7449926 3 |
532ac7d7 4LL | &x[..];
b7449926
XL
5 | ^^^^^
6
7error[E0608]: cannot index into a value of type `Foo`
0731742a 8 --> $DIR/slice-2.rs:8:6
b7449926 9 |
532ac7d7 10LL | &x[Foo..];
b7449926
XL
11 | ^^^^^^^^
12
13error[E0608]: cannot index into a value of type `Foo`
0731742a 14 --> $DIR/slice-2.rs:9:6
b7449926 15 |
532ac7d7 16LL | &x[..Foo];
b7449926
XL
17 | ^^^^^^^^
18
19error[E0608]: cannot index into a value of type `Foo`
0731742a 20 --> $DIR/slice-2.rs:10:6
b7449926 21 |
532ac7d7 22LL | &x[Foo..Foo];
b7449926
XL
23 | ^^^^^^^^^^^
24
25error: aborting due to 4 previous errors
26
27For more information about this error, try `rustc --explain E0608`.