about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorJana Dönszelmann <jonathan@donsz.nl>2025-07-31 17:19:39 +0200
committerGitHub <noreply@github.com>2025-07-31 17:19:39 +0200
commit5712d50648a60cb49f16f57fa5e126b5d053c612 (patch)
tree33d5233dd18076e103be8f7a6a10de9896cc3aa8 /compiler/rustc_codegen_llvm
parentedd25748484f09941e0926ade4b9a63b54c56e16 (diff)
parent704f2ca17224dc1d208423c675313521b0f49645 (diff)
downloadrust-5712d50648a60cb49f16f57fa5e126b5d053c612.tar.gz
rust-5712d50648a60cb49f16f57fa5e126b5d053c612.zip
Rollup merge of #144712 - nnethercote:dedup-num-types, r=fmease
Deduplicate `IntTy`/`UintTy`/`FloatTy`.

There are identical definitions in `rustc_type_ir` and `rustc_ast`. This commit removes them and places a single definition in `rustc_ast_ir`. This requires adding `rust_span` as a dependency of `rustc_ast_ir`, but means a bunch of silly conversion functions can be removed.

r? `@fmease`
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/Cargo.toml b/compiler/rustc_codegen_llvm/Cargo.toml
index 5ab22f8fc4d..adf9f709410 100644
--- a/compiler/rustc_codegen_llvm/Cargo.toml
+++ b/compiler/rustc_codegen_llvm/Cargo.toml
@@ -45,4 +45,7 @@ tracing = "0.1"
 # tidy-alphabetical-end
 
 [features]
+# tidy-alphabetical-start
 check_only = ["rustc_llvm/check_only"]
+# tidy-alphabetical-end
+