Commit b13c2c3
committed
Bless tests now that we do promotion if
We bailed out of `QualifyAndPromoteConsts` immediately if the
`min_const_fn` checks failed, which sometimes resulted in additional,
spurious errors since promotion was skipped.
We now do promotion in a completely separate pass, so this is no longer
an issue.min_const_fn fails1 parent b316384 commit b13c2c3
File tree
4 files changed
+7
-28
lines changed- src/test/ui/consts/min_const_fn
4 files changed
+7
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 289 | | |
299 | | - | |
| 290 | + | |
300 | 291 | | |
301 | 292 | | |
302 | 293 | | |
| |||
305 | 296 | | |
306 | 297 | | |
307 | 298 | | |
308 | | - | |
| 299 | + | |
309 | 300 | | |
310 | 301 | | |
311 | 302 | | |
| |||
314 | 305 | | |
315 | 306 | | |
316 | 307 | | |
317 | | - | |
| 308 | + | |
318 | 309 | | |
319 | 310 | | |
320 | 311 | | |
321 | 312 | | |
322 | 313 | | |
323 | 314 | | |
324 | 315 | | |
325 | | - | |
| 316 | + | |
326 | 317 | | |
327 | | - | |
| 318 | + | |
328 | 319 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 19 | + | |
29 | 20 | | |
30 | | - | |
31 | | - | |
| 21 | + | |
0 commit comments