Skip to content

Commit 857ade1

Browse files
authored
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`
2 parents 2e0c7be + ea1a658 commit 857ade1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ tracing = "0.1"
1818
# tidy-alphabetical-end
1919

2020
[features]
21+
# tidy-alphabetical-start
2122
# Provides access to APIs that expose internals of the rust compiler.
2223
# APIs enabled by this feature are unstable. They can be removed or modified
2324
# at any point and they are not included in the crate's semantic versioning.
2425
rustc_internal = []
26+
# tidy-alphabetical-end

0 commit comments

Comments
 (0)