@@ -4,7 +4,6 @@ error[E0277]: the type `[isize]` cannot be indexed by `u8`
44LL | v[3u8];
55 | ^^^ slice indices are of type `usize` or ranges of `usize`
66 |
7- = help: the trait `SliceIndex<[isize]>` is not implemented for `u8`
87 = help: the trait `SliceIndex<[isize]>` is not implemented for `u8`
98 but it is implemented for `usize`
109 = help: for that trait implementation, expected `usize`, found `u8`
@@ -16,7 +15,6 @@ error[E0277]: the type `[isize]` cannot be indexed by `i8`
1615LL | v[3i8];
1716 | ^^^ slice indices are of type `usize` or ranges of `usize`
1817 |
19- = help: the trait `SliceIndex<[isize]>` is not implemented for `i8`
2018 = help: the trait `SliceIndex<[isize]>` is not implemented for `i8`
2119 but it is implemented for `usize`
2220 = help: for that trait implementation, expected `usize`, found `i8`
@@ -28,7 +26,6 @@ error[E0277]: the type `[isize]` cannot be indexed by `u32`
2826LL | v[3u32];
2927 | ^^^^ slice indices are of type `usize` or ranges of `usize`
3028 |
31- = help: the trait `SliceIndex<[isize]>` is not implemented for `u32`
3229 = help: the trait `SliceIndex<[isize]>` is not implemented for `u32`
3330 but it is implemented for `usize`
3431 = help: for that trait implementation, expected `usize`, found `u32`
@@ -40,7 +37,6 @@ error[E0277]: the type `[isize]` cannot be indexed by `i32`
4037LL | v[3i32];
4138 | ^^^^ slice indices are of type `usize` or ranges of `usize`
4239 |
43- = help: the trait `SliceIndex<[isize]>` is not implemented for `i32`
4440 = help: the trait `SliceIndex<[isize]>` is not implemented for `i32`
4541 but it is implemented for `usize`
4642 = help: for that trait implementation, expected `usize`, found `i32`
@@ -52,7 +48,6 @@ error[E0277]: the type `[u8]` cannot be indexed by `u8`
5248LL | s.as_bytes()[3u8];
5349 | ^^^ slice indices are of type `usize` or ranges of `usize`
5450 |
55- = help: the trait `SliceIndex<[u8]>` is not implemented for `u8`
5651 = help: the trait `SliceIndex<[u8]>` is not implemented for `u8`
5752 but it is implemented for `usize`
5853 = help: for that trait implementation, expected `usize`, found `u8`
@@ -64,7 +59,6 @@ error[E0277]: the type `[u8]` cannot be indexed by `i8`
6459LL | s.as_bytes()[3i8];
6560 | ^^^ slice indices are of type `usize` or ranges of `usize`
6661 |
67- = help: the trait `SliceIndex<[u8]>` is not implemented for `i8`
6862 = help: the trait `SliceIndex<[u8]>` is not implemented for `i8`
6963 but it is implemented for `usize`
7064 = help: for that trait implementation, expected `usize`, found `i8`
@@ -76,7 +70,6 @@ error[E0277]: the type `[u8]` cannot be indexed by `u32`
7670LL | s.as_bytes()[3u32];
7771 | ^^^^ slice indices are of type `usize` or ranges of `usize`
7872 |
79- = help: the trait `SliceIndex<[u8]>` is not implemented for `u32`
8073 = help: the trait `SliceIndex<[u8]>` is not implemented for `u32`
8174 but it is implemented for `usize`
8275 = help: for that trait implementation, expected `usize`, found `u32`
@@ -88,7 +81,6 @@ error[E0277]: the type `[u8]` cannot be indexed by `i32`
8881LL | s.as_bytes()[3i32];
8982 | ^^^^ slice indices are of type `usize` or ranges of `usize`
9083 |
91- = help: the trait `SliceIndex<[u8]>` is not implemented for `i32`
9284 = help: the trait `SliceIndex<[u8]>` is not implemented for `i32`
9385 but it is implemented for `usize`
9486 = help: for that trait implementation, expected `usize`, found `i32`
0 commit comments