|
1 |
| -error: unconstrained opaque type |
| 1 | +error: [o] |
2 | 2 | --> $DIR/variance.rs:8:29
|
3 | 3 | |
|
4 | 4 | LL | type NotCapturedEarly<'a> = impl Sized;
|
5 | 5 | | ^^^^^^^^^^
|
6 |
| - | |
7 |
| - = note: `NotCapturedEarly` must be used in combination with a concrete type within the same module |
8 | 6 |
|
9 |
| -error: unconstrained opaque type |
| 7 | +error: [o] |
10 | 8 | --> $DIR/variance.rs:11:26
|
11 | 9 | |
|
12 | 10 | LL | type CapturedEarly<'a> = impl Sized + Captures<'a>;
|
13 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
14 |
| - | |
15 |
| - = note: `CapturedEarly` must be used in combination with a concrete type within the same module |
16 | 12 |
|
17 |
| -error: unconstrained opaque type |
| 13 | +error: [o] |
18 | 14 | --> $DIR/variance.rs:15:56
|
19 | 15 | |
|
20 | 16 | LL | type NotCapturedLate<'a> = dyn for<'b> Iterator<Item = impl Sized>;
|
21 | 17 | | ^^^^^^^^^^
|
22 |
| - | |
23 |
| - = note: `NotCapturedLate` must be used in combination with a concrete type within the same module |
24 | 18 |
|
25 |
| -error: unconstrained opaque type |
| 19 | +error: [o] |
26 | 20 | --> $DIR/variance.rs:19:49
|
27 | 21 | |
|
28 | 22 | LL | type Captured<'a> = dyn for<'b> Iterator<Item = impl Sized + Captures<'a>>;
|
29 | 23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
30 |
| - | |
31 |
| - = note: `Captured` must be used in combination with a concrete type within the same module |
32 | 24 |
|
33 |
| -error: unconstrained opaque type |
| 25 | +error: [o, o, o] |
34 | 26 | --> $DIR/variance.rs:22:27
|
35 | 27 | |
|
36 | 28 | LL | type Bar<'a, 'b: 'b, T> = impl Sized;
|
37 | 29 | | ^^^^^^^^^^
|
38 |
| - | |
39 |
| - = note: `Bar` must be used in combination with a concrete type within the same module |
40 | 30 |
|
41 |
| -error: unconstrained opaque type |
| 31 | +error: [o, o] |
42 | 32 | --> $DIR/variance.rs:34:32
|
43 | 33 | |
|
44 | 34 | LL | type ImplicitCapture<'a> = impl Sized;
|
45 | 35 | | ^^^^^^^^^^
|
46 |
| - | |
47 |
| - = note: `ImplicitCapture` must be used in combination with a concrete type within the same impl |
48 | 36 |
|
49 |
| -error: unconstrained opaque type |
| 37 | +error: [o, o] |
50 | 38 | --> $DIR/variance.rs:37:42
|
51 | 39 | |
|
52 | 40 | LL | type ExplicitCaptureFromHeader<'a> = impl Sized + Captures<'i>;
|
53 | 41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
54 |
| - | |
55 |
| - = note: `ExplicitCaptureFromHeader` must be used in combination with a concrete type within the same impl |
56 | 42 |
|
57 |
| -error: unconstrained opaque type |
| 43 | +error: [o, o] |
58 | 44 | --> $DIR/variance.rs:40:39
|
59 | 45 | |
|
60 | 46 | LL | type ExplicitCaptureFromGat<'a> = impl Sized + Captures<'a>;
|
61 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
62 |
| - | |
63 |
| - = note: `ExplicitCaptureFromGat` must be used in combination with a concrete type within the same impl |
64 | 48 |
|
65 |
| -error: unconstrained opaque type |
| 49 | +error: [o, o] |
66 | 50 | --> $DIR/variance.rs:45:32
|
67 | 51 | |
|
68 | 52 | LL | type ImplicitCapture<'a> = impl Sized;
|
69 | 53 | | ^^^^^^^^^^
|
70 |
| - | |
71 |
| - = note: `ImplicitCapture` must be used in combination with a concrete type within the same impl |
72 | 54 |
|
73 |
| -error: unconstrained opaque type |
| 55 | +error: [o, o] |
74 | 56 | --> $DIR/variance.rs:48:42
|
75 | 57 | |
|
76 | 58 | LL | type ExplicitCaptureFromHeader<'a> = impl Sized + Captures<'i>;
|
77 | 59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
78 |
| - | |
79 |
| - = note: `ExplicitCaptureFromHeader` must be used in combination with a concrete type within the same impl |
80 | 60 |
|
81 |
| -error: unconstrained opaque type |
| 61 | +error: [o, o] |
82 | 62 | --> $DIR/variance.rs:51:39
|
83 | 63 | |
|
84 | 64 | LL | type ExplicitCaptureFromGat<'a> = impl Sized + Captures<'a>;
|
85 | 65 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
86 |
| - | |
87 |
| - = note: `ExplicitCaptureFromGat` must be used in combination with a concrete type within the same impl |
88 | 66 |
|
89 |
| -error: [o] |
| 67 | +error: unconstrained opaque type |
90 | 68 | --> $DIR/variance.rs:8:29
|
91 | 69 | |
|
92 | 70 | LL | type NotCapturedEarly<'a> = impl Sized;
|
93 | 71 | | ^^^^^^^^^^
|
| 72 | + | |
| 73 | + = note: `NotCapturedEarly` must be used in combination with a concrete type within the same module |
94 | 74 |
|
95 |
| -error: [o] |
| 75 | +error: unconstrained opaque type |
96 | 76 | --> $DIR/variance.rs:11:26
|
97 | 77 | |
|
98 | 78 | LL | type CapturedEarly<'a> = impl Sized + Captures<'a>;
|
99 | 79 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 80 | + | |
| 81 | + = note: `CapturedEarly` must be used in combination with a concrete type within the same module |
100 | 82 |
|
101 |
| -error: [o] |
| 83 | +error: unconstrained opaque type |
102 | 84 | --> $DIR/variance.rs:15:56
|
103 | 85 | |
|
104 | 86 | LL | type NotCapturedLate<'a> = dyn for<'b> Iterator<Item = impl Sized>;
|
105 | 87 | | ^^^^^^^^^^
|
| 88 | + | |
| 89 | + = note: `NotCapturedLate` must be used in combination with a concrete type within the same module |
106 | 90 |
|
107 |
| -error: [o] |
| 91 | +error: unconstrained opaque type |
108 | 92 | --> $DIR/variance.rs:19:49
|
109 | 93 | |
|
110 | 94 | LL | type Captured<'a> = dyn for<'b> Iterator<Item = impl Sized + Captures<'a>>;
|
111 | 95 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 96 | + | |
| 97 | + = note: `Captured` must be used in combination with a concrete type within the same module |
112 | 98 |
|
113 |
| -error: [o, o, o] |
| 99 | +error: unconstrained opaque type |
114 | 100 | --> $DIR/variance.rs:22:27
|
115 | 101 | |
|
116 | 102 | LL | type Bar<'a, 'b: 'b, T> = impl Sized;
|
117 | 103 | | ^^^^^^^^^^
|
| 104 | + | |
| 105 | + = note: `Bar` must be used in combination with a concrete type within the same module |
118 | 106 |
|
119 |
| -error: [o, o] |
| 107 | +error: unconstrained opaque type |
120 | 108 | --> $DIR/variance.rs:34:32
|
121 | 109 | |
|
122 | 110 | LL | type ImplicitCapture<'a> = impl Sized;
|
123 | 111 | | ^^^^^^^^^^
|
| 112 | + | |
| 113 | + = note: `ImplicitCapture` must be used in combination with a concrete type within the same impl |
124 | 114 |
|
125 |
| -error: [o, o] |
| 115 | +error: unconstrained opaque type |
126 | 116 | --> $DIR/variance.rs:37:42
|
127 | 117 | |
|
128 | 118 | LL | type ExplicitCaptureFromHeader<'a> = impl Sized + Captures<'i>;
|
129 | 119 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 120 | + | |
| 121 | + = note: `ExplicitCaptureFromHeader` must be used in combination with a concrete type within the same impl |
130 | 122 |
|
131 |
| -error: [o, o] |
| 123 | +error: unconstrained opaque type |
132 | 124 | --> $DIR/variance.rs:40:39
|
133 | 125 | |
|
134 | 126 | LL | type ExplicitCaptureFromGat<'a> = impl Sized + Captures<'a>;
|
135 | 127 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 128 | + | |
| 129 | + = note: `ExplicitCaptureFromGat` must be used in combination with a concrete type within the same impl |
136 | 130 |
|
137 |
| -error: [o, o] |
| 131 | +error: unconstrained opaque type |
138 | 132 | --> $DIR/variance.rs:45:32
|
139 | 133 | |
|
140 | 134 | LL | type ImplicitCapture<'a> = impl Sized;
|
141 | 135 | | ^^^^^^^^^^
|
| 136 | + | |
| 137 | + = note: `ImplicitCapture` must be used in combination with a concrete type within the same impl |
142 | 138 |
|
143 |
| -error: [o, o] |
| 139 | +error: unconstrained opaque type |
144 | 140 | --> $DIR/variance.rs:48:42
|
145 | 141 | |
|
146 | 142 | LL | type ExplicitCaptureFromHeader<'a> = impl Sized + Captures<'i>;
|
147 | 143 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 144 | + | |
| 145 | + = note: `ExplicitCaptureFromHeader` must be used in combination with a concrete type within the same impl |
148 | 146 |
|
149 |
| -error: [o, o] |
| 147 | +error: unconstrained opaque type |
150 | 148 | --> $DIR/variance.rs:51:39
|
151 | 149 | |
|
152 | 150 | LL | type ExplicitCaptureFromGat<'a> = impl Sized + Captures<'a>;
|
153 | 151 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 152 | + | |
| 153 | + = note: `ExplicitCaptureFromGat` must be used in combination with a concrete type within the same impl |
154 | 154 |
|
155 | 155 | error: aborting due to 22 previous errors
|
156 | 156 |
|
0 commit comments