Commit 3cbd17f
committed
Remove
This was a hack to work around the lack of an escape hatch for the "min
`const fn`" checks in const-stable functions. Now that we have co-opted
`allow_internal_unstable` for this purpose, we no longer need the
bespoke attribute.rustc_allow_const_fn_ptr
1 parent 1ff1431 commit 3cbd17f
File tree
6 files changed
+8
-42
lines changed- compiler
- rustc_attr/src
- rustc_feature/src
- rustc_middle/src/query
- rustc_mir/src/const_eval
- rustc_span/src
- library/core/src/task
6 files changed
+8
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | 148 | | |
151 | 149 | | |
152 | 150 | | |
| |||
190 | 188 | | |
191 | 189 | | |
192 | 190 | | |
193 | | - | |
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
| |||
200 | 197 | | |
201 | 198 | | |
202 | 199 | | |
203 | | - | |
204 | 200 | | |
205 | 201 | | |
206 | 202 | | |
| |||
215 | 211 | | |
216 | 212 | | |
217 | 213 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | 214 | | |
222 | 215 | | |
223 | 216 | | |
| |||
360 | 353 | | |
361 | 354 | | |
362 | 355 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
| 356 | + | |
| 357 | + | |
369 | 358 | | |
370 | 359 | | |
371 | 360 | | |
| |||
440 | 429 | | |
441 | 430 | | |
442 | 431 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
| 432 | + | |
| 433 | + | |
449 | 434 | | |
450 | 435 | | |
451 | 436 | | |
| |||
464 | 449 | | |
465 | 450 | | |
466 | 451 | | |
467 | | - | |
| 452 | + | |
468 | 453 | | |
469 | 454 | | |
470 | | - | |
471 | 455 | | |
472 | 456 | | |
473 | 457 | | |
474 | 458 | | |
475 | 459 | | |
476 | | - | |
477 | | - | |
478 | | - | |
| 460 | + | |
| 461 | + | |
479 | 462 | | |
480 | 463 | | |
481 | 464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | 467 | | |
469 | 468 | | |
470 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | 460 | | |
465 | 461 | | |
466 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 154 | | |
160 | 155 | | |
161 | 156 | | |
162 | 157 | | |
163 | 158 | | |
164 | | - | |
165 | 159 | | |
166 | 160 | | |
167 | 161 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
889 | 888 | | |
890 | 889 | | |
891 | 890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 132 | | |
139 | 133 | | |
| 134 | + | |
140 | 135 | | |
141 | 136 | | |
142 | 137 | | |
| |||
0 commit comments