diff options
| author | bors <bors@rust-lang.org> | 2022-12-04 08:28:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-04 08:28:22 +0000 |
| commit | 9e772114e6a17498f1ba27ba96693012788972e2 (patch) | |
| tree | 2d9b263a5a7b8435e880f0a4001c99894d71c50f /compiler/rustc_codegen_llvm/src | |
| parent | fd02567705326884ddb94535d2ab230a9595dc2a (diff) | |
| parent | db57653be58684d5bbf4e5cc477339390da3110a (diff) | |
| download | rust-9e772114e6a17498f1ba27ba96693012788972e2.tar.gz rust-9e772114e6a17498f1ba27ba96693012788972e2.zip | |
Auto merge of #101514 - nvzqz:nvzqz/stabilize-nonzero-bits, r=thomcc
Stabilize `nonzero_bits`
Closes #94881, implemented by #93292.
This change stabilizes the associated `BITS` constant for `NonZero{U,I}{8,16,32,64,128,size}` integers, e.g.:
```rs
impl NonZeroUsize {
pub const BITS: u32 = usize::BITS;
}
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
