about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver
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_next_trait_solver
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_next_trait_solver')
-rw-r--r--compiler/rustc_next_trait_solver/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_next_trait_solver/Cargo.toml b/compiler/rustc_next_trait_solver/Cargo.toml
index 36d53901d9e..05bcabad02f 100644
--- a/compiler/rustc_next_trait_solver/Cargo.toml
+++ b/compiler/rustc_next_trait_solver/Cargo.toml
@@ -15,6 +15,7 @@ tracing = "0.1"
 # tidy-alphabetical-end
 
 [features]
+# tidy-alphabetical-start
 default = ["nightly"]
 nightly = [
     "dep:rustc_data_structures",
@@ -22,3 +23,4 @@ nightly = [
     "rustc_index/nightly",
     "rustc_type_ir/nightly",
 ]
+# tidy-alphabetical-end