@@ -7,14 +7,6 @@ error[E0277]: the trait bound `[i32]: Index<u32>` is not satisfied
7
7
= help: the trait `Index<u32>` is not implemented for `[i32]`
8
8
= note: required by `Index::index`
9
9
10
- error[E0277]: the trait bound `[i32]: Index<u32>` is not satisfied
11
- --> $DIR/multiple-impls.rs:43:5
12
- |
13
- 43 | Index::index(&[] as &[i32], 2u32);
14
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait message
15
- |
16
- = help: the trait `Index<u32>` is not implemented for `[i32]`
17
-
18
10
error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
19
11
--> $DIR/multiple-impls.rs:49:5
20
12
|
@@ -24,14 +16,6 @@ error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
24
16
= help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
25
17
= note: required by `Index::index`
26
18
27
- error[E0277]: the trait bound `[i32]: Index<Foo<u32>>` is not satisfied
28
- --> $DIR/multiple-impls.rs:49:5
29
- |
30
- 49 | Index::index(&[] as &[i32], Foo(2u32));
31
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ on impl for Foo
32
- |
33
- = help: the trait `Index<Foo<u32>>` is not implemented for `[i32]`
34
-
35
19
error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
36
20
--> $DIR/multiple-impls.rs:55:5
37
21
|
@@ -41,13 +25,5 @@ error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
41
25
= help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
42
26
= note: required by `Index::index`
43
27
44
- error[E0277]: the trait bound `[i32]: Index<Bar<u32>>` is not satisfied
45
- --> $DIR/multiple-impls.rs:55:5
46
- |
47
- 55 | Index::index(&[] as &[i32], Bar(2u32));
48
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ on impl for Bar
49
- |
50
- = help: the trait `Index<Bar<u32>>` is not implemented for `[i32]`
51
-
52
- error: aborting due to 6 previous errors
28
+ error: aborting due to 3 previous errors
53
29
0 commit comments