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