1 error[E0277]: the trait bound `[i32]: Index<u32>` is not satisfied
2 --> $DIR/multiple-impls.rs:33:18
4 LL | Index::index(&[] as &[i32], 2u32);
5 | ------------ ^^^^^^^^^^^^^ trait message
7 | required by a bound introduced by this call
9 = help: the trait `Index<u32>` is not implemented for `[i32]`
11 error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
12 --> $DIR/multiple-impls.rs:36:18
14 LL | Index::index(&[] as &[i32], Foo(2u32));
15 | ------------ ^^^^^^^^^^^^^ on impl for Foo
17 | required by a bound introduced by this call
19 = help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
21 error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
22 --> $DIR/multiple-impls.rs:39:18
24 LL | Index::index(&[] as &[i32], Bar(2u32));
25 | ------------ ^^^^^^^^^^^^^ on impl for Bar
27 | required by a bound introduced by this call
29 = help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
31 error[E0277]: the trait bound `[i32]: Index<u32>` is not satisfied
32 --> $DIR/multiple-impls.rs:33:5
34 LL | Index::index(&[] as &[i32], 2u32);
35 | ^^^^^^^^^^^^ trait message
37 = help: the trait `Index<u32>` is not implemented for `[i32]`
39 error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
40 --> $DIR/multiple-impls.rs:36:5
42 LL | Index::index(&[] as &[i32], Foo(2u32));
43 | ^^^^^^^^^^^^ on impl for Foo
45 = help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
47 error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
48 --> $DIR/multiple-impls.rs:39:5
50 LL | Index::index(&[] as &[i32], Bar(2u32));
51 | ^^^^^^^^^^^^ on impl for Bar
53 = help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
55 error: aborting due to 6 previous errors
57 For more information about this error, try `rustc --explain E0277`.