Commit 9aea966
authored
Rollup merge of #94455 - jhpratt:stabilize-int_roundings, r=joshtriplett
Partially stabilize `int_roundings`
This stabilizes the following:
```rust
impl uX {
pub const fn div_ceil(self, rhs: Self) -> Self;
pub const fn next_multiple_of(self, rhs: Self) -> Self;
pub const fn checked_next_multiple_of(self, rhs: Self) -> Option<Self>;
}
```
This feature is tracked in #88581.File tree
3 files changed
+6
-8
lines changed- compiler/rustc_codegen_ssa/src
- library
- core/src/num
- std/src
3 files changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2074 | 2074 | | |
2075 | 2075 | | |
2076 | 2076 | | |
2077 | | - | |
2078 | 2077 | | |
2079 | 2078 | | |
2080 | | - | |
| 2079 | + | |
| 2080 | + | |
2081 | 2081 | | |
2082 | 2082 | | |
2083 | 2083 | | |
| |||
2109 | 2109 | | |
2110 | 2110 | | |
2111 | 2111 | | |
2112 | | - | |
2113 | 2112 | | |
2114 | 2113 | | |
2115 | 2114 | | |
2116 | | - | |
| 2115 | + | |
| 2116 | + | |
2117 | 2117 | | |
2118 | 2118 | | |
2119 | 2119 | | |
| |||
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
2137 | | - | |
2138 | 2137 | | |
2139 | 2138 | | |
2140 | 2139 | | |
2141 | 2140 | | |
2142 | 2141 | | |
2143 | | - | |
| 2142 | + | |
| 2143 | + | |
2144 | 2144 | | |
2145 | 2145 | | |
2146 | 2146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | 296 | | |
298 | 297 | | |
299 | 298 | | |
| |||
0 commit comments