about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-22 16:02:29 +0200
committerGitHub <noreply@github.com>2025-05-22 16:02:29 +0200
commitbc6804df271ef2903b61d9a9b4b24710e8112068 (patch)
treeccad29ef39c2b5b19cf7d68bb3d8dbcbece91e58 /compiler/rustc_codegen_llvm/src
parent3216098e5344ee0f2e387e3901c4ff24ba40bf2c (diff)
parent8373bb17d6f9ccb00171f788bbc1379bffc61f68 (diff)
downloadrust-bc6804df271ef2903b61d9a9b4b24710e8112068.tar.gz
rust-bc6804df271ef2903b61d9a9b4b24710e8112068.zip
Rollup merge of #140435 - bend-n:use_ux_from_instead_of_bool_as_ux_unnecessary_transmutes, r=compiler-errors
use uX::from instead of _ as uX in non - const contexts

changes `transmute(bool) -> integer` to `integer::from` as opposed to `bool as integer`.
https://github.com/rust-lang/rust/pull/136083#discussion_r1985061667

`@rustbot` label L-unnecessary_transmutes
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions