about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-04 08:28:22 +0000
committerbors <bors@rust-lang.org>2022-12-04 08:28:22 +0000
commit9e772114e6a17498f1ba27ba96693012788972e2 (patch)
tree2d9b263a5a7b8435e880f0a4001c99894d71c50f /compiler/rustc_codegen_llvm/src
parentfd02567705326884ddb94535d2ab230a9595dc2a (diff)
parentdb57653be58684d5bbf4e5cc477339390da3110a (diff)
downloadrust-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