Skip to content

Commit ead49f0

Browse files
committedOct 4, 2022
Auto merge of #102622 - camsteffen:move-layout, r=fee1-dead
Move layout_of and friends from rustc_middle to rustc_ty_utils Breaks up the very large module that is `rustc_middle::ty::layout` by fork-lifting some queries into `rustc_ty_utils::{abi, layout}`. This does set back `rustc_ty_utils` to having untranslatable diagnostics. I'd like to leave this as a separate task.
2 parents f111209 + 95b689b commit ead49f0

File tree

9 files changed

+2337
-2343
lines changed

9 files changed

+2337
-2343
lines changed
 

‎Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -3781,8 +3781,6 @@ dependencies = [
37813781
"either",
37823782
"gsgdt",
37833783
"polonius-engine",
3784-
"rand 0.8.5",
3785-
"rand_xoshiro",
37863784
"rustc-rayon",
37873785
"rustc-rayon-core",
37883786
"rustc_apfloat",
@@ -4228,6 +4226,8 @@ dependencies = [
42284226
name = "rustc_ty_utils"
42294227
version = "0.0.0"
42304228
dependencies = [
4229+
"rand 0.8.5",
4230+
"rand_xoshiro",
42314231
"rustc_data_structures",
42324232
"rustc_errors",
42334233
"rustc_hir",

‎compiler/rustc_middle/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ chalk-ir = "0.80.0"
1212
either = "1.5.0"
1313
gsgdt = "0.1.2"
1414
polonius-engine = "0.13.0"
15-
rand = "0.8.4"
16-
rand_xoshiro = "0.6.0"
1715
rustc_apfloat = { path = "../rustc_apfloat" }
1816
rustc_arena = { path = "../rustc_arena" }
1917
rustc_ast = { path = "../rustc_ast" }

0 commit comments

Comments
 (0)
Please sign in to comment.