This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 90741d3
committed
Auto merge of rust-lang#121114 - Nilstrieb:no-inline!, r=<try>
Add `#[rustc_no_mir_inline]` for standard library UB checks
should help with rust-lang#121110 and also with rust-lang#120848
I am not entirely sure whether this is the correct solution and I haven't validated it, I just quickly threw it together before going to sleep.
r? `@saethlin`File tree
4 files changed
+11
-1
lines changed- compiler
- rustc_feature/src
- rustc_mir_transform/src
- rustc_span/src
- library/core/src
4 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
791 | 795 | | |
792 | 796 | | |
793 | 797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
416 | 421 | | |
417 | 422 | | |
418 | 423 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
| 1438 | + | |
1438 | 1439 | | |
1439 | 1440 | | |
1440 | 1441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2640 | 2640 | | |
2641 | 2641 | | |
2642 | 2642 | | |
2643 | | - | |
| 2643 | + | |
2644 | 2644 | | |
2645 | 2645 | | |
2646 | 2646 | | |
| |||
0 commit comments