about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-02-04 05:38:05 -0500
committerGitHub <noreply@github.com>2025-02-04 05:38:05 -0500
commit5178a3630e2a93cace40da112fde6c1695023bb6 (patch)
treecb5c1fe1640c7b95e99a16c772ae403e593ddd36 /compiler/rustc_codegen_llvm/src/common.rs
parent9d563bbf61e864b4b5f5f2b1e3d1d3f44aecefbb (diff)
parentf4a92e3262dbf98304758c5f778ddd6528b47f44 (diff)
downloadrust-5178a3630e2a93cace40da112fde6c1695023bb6.tar.gz
rust-5178a3630e2a93cace40da112fde6c1695023bb6.zip
Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
Add `cast_signed` and `cast_unsigned` methods for `NonZero` types

Requested in https://github.com/rust-lang/rust/issues/125882 .

Note that this keeps the same names as the methods currently present on other
integer types. If we want to rename them, we can rename them all at the same
time.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions