This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 045a1c7
authored
Rollup merge of rust-lang#138861 - compiler-errors:flags-tweaks, r=lcnr
Tweak type flags, fix missing flags from coroutine kind ty
Firstly, make sure we visit the coroutine kind ty. Since this kind ty is either infer (before upvar computation), or `()` or `i8`/`i16`/`i32`, this isn't really that big of a deal, since other types in the coroutine will also be infer, so we're not misreporting `ty.has_infer()` or anything, but it's still wrong not to do this.
Furthermore, remove `HAS_TY_COROUTINE`, since nobody used it, and also remove special casing for `STILL_FURTHER_SPECIALIZABLE` since it's likely not important anymore? I have a vague recollection that it was important for polymorphization(?), but no tests seem to rely on this behavior.
r? lcnr or reassign3 files changed
+24
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
126 | 110 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 111 | | |
162 | 112 | | |
163 | 113 | | |
| |||
167 | 117 | | |
168 | 118 | | |
169 | 119 | | |
170 | | - | |
171 | 120 | | |
172 | 121 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
179 | 126 | | |
180 | | - | |
181 | | - | |
182 | | - | |
| 127 | + | |
| 128 | + | |
183 | 129 | | |
184 | | - | |
| 130 | + | |
185 | 131 | | |
186 | 132 | | |
187 | 133 | | |
| |||
358 | 304 | | |
359 | 305 | | |
360 | 306 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
368 | 311 | | |
369 | 312 | | |
370 | 313 | | |
371 | 314 | | |
372 | 315 | | |
373 | 316 | | |
374 | | - | |
375 | 317 | | |
376 | 318 | | |
377 | 319 | | |
378 | | - | |
379 | 320 | | |
380 | 321 | | |
381 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | | - | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 272 | | |
277 | 273 | | |
278 | 274 | | |
| |||
0 commit comments