]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0608]: cannot index into a value of type `Foo` |
0731742a | 2 | --> $DIR/slice-2.rs:7:6 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | &x[..]; |
b7449926 XL |
5 | | ^^^^^ |
6 | ||
7 | error[E0608]: cannot index into a value of type `Foo` | |
0731742a | 8 | --> $DIR/slice-2.rs:8:6 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | &x[Foo..]; |
b7449926 XL |
11 | | ^^^^^^^^ |
12 | ||
13 | error[E0608]: cannot index into a value of type `Foo` | |
0731742a | 14 | --> $DIR/slice-2.rs:9:6 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | &x[..Foo]; |
b7449926 XL |
17 | | ^^^^^^^^ |
18 | ||
19 | error[E0608]: cannot index into a value of type `Foo` | |
0731742a | 20 | --> $DIR/slice-2.rs:10:6 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | &x[Foo..Foo]; |
b7449926 XL |
23 | | ^^^^^^^^^^^ |
24 | ||
25 | error: aborting due to 4 previous errors | |
26 | ||
27 | For more information about this error, try `rustc --explain E0608`. |