summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-11 13:48:13 +0200
committerGitHub <noreply@github.com>2025-06-11 13:48:13 +0200
commit583a6e2de7f0e91655c0eb0455516bcce584fa0f (patch)
treea1cdae41f059efc68bcdb2b709074f3a12bf734b /compiler/rustc_parse/src/parser/expr.rs
parentb1c668ca03b4f7370d0ed6b77bcda4ed7a81bea5 (diff)
parent199b80887043acdc029558f3739c094bdfd72b6a (diff)
downloadrust-583a6e2de7f0e91655c0eb0455516bcce584fa0f.tar.gz
rust-583a6e2de7f0e91655c0eb0455516bcce584fa0f.zip
Rollup merge of #142328 - sorairolake:feature/uint-bit-width, r=tgross35
feat: Add `bit_width` for unsigned integer types

- Accepted ACP: rust-lang/libs-team#598
- Tracking issue: rust-lang/rust#142326

This PR adds methods to the primitive unsigned integer types that return the minimum number of bits required to represent an unsigned integer.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions