@@ -15,11 +15,10 @@ error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
1515 --> $DIR/multiple-impls.rs:36:33
1616 |
1717LL | Index::index(&[] as &[i32], Foo(2u32));
18- | ------------ ^^^^^^^^^ on impl for Foo
18+ | ------------ ^^^^^^^^^ the trait `Index<Foo<u32>>` is not implemented for `[i32]`
1919 | |
2020 | required by a bound introduced by this call
2121 |
22- = help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
2322 = help: the following other types implement trait `Index<Idx>`:
2423 `[i32]` implements `Index<Bar<usize>>`
2524 `[i32]` implements `Index<Foo<usize>>`
@@ -28,11 +27,10 @@ error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
2827 --> $DIR/multiple-impls.rs:39:33
2928 |
3029LL | Index::index(&[] as &[i32], Bar(2u32));
31- | ------------ ^^^^^^^^^ on impl for Bar
30+ | ------------ ^^^^^^^^^ the trait `Index<Bar<u32>>` is not implemented for `[i32]`
3231 | |
3332 | required by a bound introduced by this call
3433 |
35- = help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
3634 = help: the following other types implement trait `Index<Idx>`:
3735 `[i32]` implements `Index<Bar<usize>>`
3836 `[i32]` implements `Index<Foo<usize>>`
@@ -52,9 +50,8 @@ error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
5250 --> $DIR/multiple-impls.rs:36:5
5351 |
5452LL | Index::index(&[] as &[i32], Foo(2u32));
55- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ on impl for Foo
53+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Index<Foo<u32>>` is not implemented for `[i32]`
5654 |
57- = help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
5855 = help: the following other types implement trait `Index<Idx>`:
5956 `[i32]` implements `Index<Bar<usize>>`
6057 `[i32]` implements `Index<Foo<usize>>`
@@ -63,9 +60,8 @@ error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
6360 --> $DIR/multiple-impls.rs:39:5
6461 |
6562LL | Index::index(&[] as &[i32], Bar(2u32));
66- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ on impl for Bar
63+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Index<Bar<u32>>` is not implemented for `[i32]`
6764 |
68- = help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
6965 = help: the following other types implement trait `Index<Idx>`:
7066 `[i32]` implements `Index<Bar<usize>>`
7167 `[i32]` implements `Index<Foo<usize>>`
0 commit comments