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