This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 25912c0
committed
Auto merge of rust-lang#101320 - RalfJung:beta-ctfe-ptr-provenance, r=pnkfelix
beta-backport of provenance-related CTFE changes
This is all part of dealing with rust-lang#99923.
The first commit backports the effects of rust-lang#101101. `@pnkfelix` asked for this and it turned out to be easy, so I think this is uncontroversial.
The second commit effectively repeats rust-lang#99965, which un-does the effects of rust-lang#97684 and therefore means rust-lang#99923 does not apply to the beta branch. I honestly don't think we should do this; the sentiment in rust-lang#99923 was that we should go ahead with the change but improve diagnostics. But `@pnkfelix` seemed to request such a change so I figured I would offer the option.
I'll be on vacation soon, so if you all decide to take the first commit only, then someone please just force-push to this branch and remove the 2nd commit.File tree
21 files changed
+275
-50
lines changed- compiler/rustc_const_eval/src
- const_eval
- interpret
- src/test/ui
- const-ptr
- consts
- const-eval
- miri_unleashed
21 files changed
+275
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
156 | 167 | | |
157 | 168 | | |
158 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 327 | + | |
332 | 328 | | |
333 | 329 | | |
334 | 330 | | |
| |||
348 | 344 | | |
349 | 345 | | |
350 | 346 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 347 | + | |
356 | 348 | | |
357 | 349 | | |
358 | 350 | | |
| |||
458 | 450 | | |
459 | 451 | | |
460 | 452 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 453 | + | |
466 | 454 | | |
467 | 455 | | |
468 | 456 | | |
469 | 457 | | |
470 | 458 | | |
471 | 459 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
| 460 | + | |
477 | 461 | | |
478 | 462 | | |
479 | 463 | | |
| |||
535 | 519 | | |
536 | 520 | | |
537 | 521 | | |
538 | | - | |
539 | 522 | | |
540 | 523 | | |
541 | 524 | | |
| |||
560 | 543 | | |
561 | 544 | | |
562 | 545 | | |
563 | | - | |
564 | 546 | | |
565 | 547 | | |
566 | 548 | | |
| |||
715 | 697 | | |
716 | 698 | | |
717 | 699 | | |
718 | | - | |
719 | | - | |
720 | 700 | | |
721 | 701 | | |
722 | 702 | | |
| |||
853 | 833 | | |
854 | 834 | | |
855 | 835 | | |
856 | | - | |
857 | 836 | | |
858 | 837 | | |
859 | 838 | | |
| |||
925 | 904 | | |
926 | 905 | | |
927 | 906 | | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | 907 | | |
932 | 908 | | |
933 | 909 | | |
| |||
968 | 944 | | |
969 | 945 | | |
970 | 946 | | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
976 | 950 | | |
977 | | - | |
| 951 | + | |
978 | 952 | | |
| 953 | + | |
| 954 | + | |
979 | 955 | | |
980 | 956 | | |
981 | 957 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
| 174 | + | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
| 174 | + | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
0 commit comments