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