@@ -5,63 +5,63 @@ use std::ops::Index;
5
5
pub fn next < ' a , T > ( s : & ' a mut dyn SVec < Item = T , Output = T > ) {
6
6
//~^ expected 1 lifetime argument
7
7
//~| expected 1 generic argument
8
- //~| the trait `SVec` is not dyn compatible
8
+ //~| ERROR the trait `SVec` is not dyn compatible
9
9
//~| `SVec` is not dyn compatible
10
- //~| missing generics for associated type `SVec::Item`
11
- //~| missing generics for associated type `SVec::Item`
10
+ //~| ERROR missing generics for associated type `SVec::Item`
11
+ //~| ERROR missing generics for associated type `SVec::Item`
12
12
let _ = s;
13
13
}
14
14
15
15
pub trait SVec : Index <
16
16
<Self as SVec >:: Item ,
17
17
//~^ expected 1 lifetime argument
18
18
//~| expected 1 generic argument
19
- //~| missing generics for associated type `SVec::Item`
20
- //~| missing generics for associated type `SVec::Item`
21
- //~| missing generics for associated type `SVec::Item`
22
- //~| missing generics for associated type `SVec::Item`
23
- //~| missing generics for associated type `SVec::Item`
24
- //~| missing generics for associated type `SVec::Item`
25
- //~| missing generics for associated type `SVec::Item`
26
- //~| missing generics for associated type `SVec::Item`
19
+ //~| ERROR missing generics for associated type `SVec::Item`
20
+ //~| ERROR missing generics for associated type `SVec::Item`
21
+ //~| ERROR missing generics for associated type `SVec::Item`
22
+ //~| ERROR missing generics for associated type `SVec::Item`
23
+ //~| ERROR missing generics for associated type `SVec::Item`
24
+ //~| ERROR missing generics for associated type `SVec::Item`
25
+ //~| ERROR missing generics for associated type `SVec::Item`
26
+ //~| ERROR missing generics for associated type `SVec::Item`
27
27
Output = <Index < <Self as SVec >:: Item ,
28
28
//~^ expected 1 lifetime argument
29
29
//~| expected 1 generic argument
30
- //~| missing generics for associated type `SVec::Item`
31
- //~| missing generics for associated type `SVec::Item`
32
- //~| missing generics for associated type `SVec::Item`
33
- //~| missing generics for associated type `SVec::Item`
34
- //~| missing generics for associated type `SVec::Item`
35
- //~| missing generics for associated type `SVec::Item`
36
- //~| missing generics for associated type `SVec::Item`
37
- //~| missing generics for associated type `SVec::Item`
30
+ //~| ERROR missing generics for associated type `SVec::Item`
31
+ //~| ERROR missing generics for associated type `SVec::Item`
32
+ //~| ERROR missing generics for associated type `SVec::Item`
33
+ //~| ERROR missing generics for associated type `SVec::Item`
34
+ //~| ERROR missing generics for associated type `SVec::Item`
35
+ //~| ERROR missing generics for associated type `SVec::Item`
36
+ //~| ERROR missing generics for associated type `SVec::Item`
37
+ //~| ERROR missing generics for associated type `SVec::Item`
38
38
Output = <Self as SVec >:: Item > as SVec >:: Item ,
39
39
//~^ expected 1 lifetime argument
40
40
//~| expected 1 generic argument
41
41
//~| expected 1 lifetime argument
42
- //~| missing generics for associated type `SVec::Item`
43
- //~| missing generics for associated type `SVec::Item`
44
- //~| missing generics for associated type `SVec::Item`
45
- //~| missing generics for associated type `SVec::Item`
46
- //~| missing generics for associated type `SVec::Item`
47
- //~| missing generics for associated type `SVec::Item`
42
+ //~| ERROR missing generics for associated type `SVec::Item`
43
+ //~| ERROR missing generics for associated type `SVec::Item`
44
+ //~| ERROR missing generics for associated type `SVec::Item`
45
+ //~| ERROR missing generics for associated type `SVec::Item`
46
+ //~| ERROR missing generics for associated type `SVec::Item`
47
+ //~| ERROR missing generics for associated type `SVec::Item`
48
48
//~| expected 1 generic argument
49
- //~| missing generics for associated type `SVec::Item`
50
- //~| missing generics for associated type `SVec::Item`
51
- //~| missing generics for associated type `SVec::Item`
52
- //~| missing generics for associated type `SVec::Item`
53
- //~| missing generics for associated type `SVec::Item`
54
- //~| missing generics for associated type `SVec::Item`
55
- //~| missing generics for associated type `SVec::Item`
56
- //~| missing generics for associated type `SVec::Item`
57
- //~| missing generics for associated type `SVec::Item`
58
- //~| missing generics for associated type `SVec::Item`
49
+ //~| ERROR missing generics for associated type `SVec::Item`
50
+ //~| ERROR missing generics for associated type `SVec::Item`
51
+ //~| ERROR missing generics for associated type `SVec::Item`
52
+ //~| ERROR missing generics for associated type `SVec::Item`
53
+ //~| ERROR missing generics for associated type `SVec::Item`
54
+ //~| ERROR missing generics for associated type `SVec::Item`
55
+ //~| ERROR missing generics for associated type `SVec::Item`
56
+ //~| ERROR missing generics for associated type `SVec::Item`
57
+ //~| ERROR missing generics for associated type `SVec::Item`
58
+ //~| ERROR missing generics for associated type `SVec::Item`
59
59
> {
60
60
type Item < ' a , T > ;
61
61
62
62
fn len ( & self ) -> <Self as SVec >:: Item ;
63
63
//~^ expected 1 lifetime argument
64
- //~| missing generics for associated type `SVec::Item`
64
+ //~| ERROR missing generics for associated type `SVec::Item`
65
65
//~| expected 1 generic argument
66
- //~| missing generics for associated type `SVec::Item`
66
+ //~| ERROR missing generics for associated type `SVec::Item`
67
67
}
0 commit comments