This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 91dc3ee
authored
Rollup merge of rust-lang#137516 - RalfJung:rustc_const_unstable-cleanup, r=Amanieu
remove some unnecessary rustc_const_unstable
If the function is anyway unstable, it doesn't need to be `rustc_const_unstable`.
`copy_from_slice` turns out to not do anything const-unstable itself, we just haven't stably committed to it being available in const yet. See [here](https://rustc-dev-guide.rust-lang.org/stability.html?highlight=rustc_const_stable_indirect) for more details on the `rustc_const_stable_indirect` attribute.2 files changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
1045 | 1044 | | |
1046 | 1045 | | |
1047 | 1046 | | |
| |||
1053 | 1052 | | |
1054 | 1053 | | |
1055 | 1054 | | |
1056 | | - | |
1057 | 1055 | | |
1058 | 1056 | | |
1059 | 1057 | | |
| |||
1326 | 1324 | | |
1327 | 1325 | | |
1328 | 1326 | | |
1329 | | - | |
1330 | 1327 | | |
1331 | 1328 | | |
1332 | 1329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
959 | | - | |
960 | 959 | | |
961 | 960 | | |
962 | 961 | | |
| |||
3734 | 3733 | | |
3735 | 3734 | | |
3736 | 3735 | | |
| 3736 | + | |
3737 | 3737 | | |
3738 | 3738 | | |
3739 | 3739 | | |
| |||
0 commit comments