Skip to content

Commit 1fc86a6

Browse files
committedSep 27, 2022
rustc_typeck to rustc_hir_analysis
1 parent de0b511 commit 1fc86a6

File tree

140 files changed

+101
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+101
-102
lines changed
 

‎Cargo.lock

+32-32
Original file line numberDiff line numberDiff line change
@@ -3394,6 +3394,7 @@ dependencies = [
33943394
"rustc_errors",
33953395
"rustc_feature",
33963396
"rustc_hir",
3397+
"rustc_hir_analysis",
33973398
"rustc_hir_pretty",
33983399
"rustc_interface",
33993400
"rustc_lint",
@@ -3407,7 +3408,6 @@ dependencies = [
34073408
"rustc_session",
34083409
"rustc_span",
34093410
"rustc_target",
3410-
"rustc_typeck",
34113411
"serde_json",
34123412
"tracing",
34133413
"winapi",
@@ -3512,6 +3512,35 @@ dependencies = [
35123512
"tracing",
35133513
]
35143514

3515+
[[package]]
3516+
name = "rustc_hir_analysis"
3517+
version = "0.0.0"
3518+
dependencies = [
3519+
"rustc_arena",
3520+
"rustc_ast",
3521+
"rustc_attr",
3522+
"rustc_data_structures",
3523+
"rustc_errors",
3524+
"rustc_feature",
3525+
"rustc_graphviz",
3526+
"rustc_hir",
3527+
"rustc_hir_pretty",
3528+
"rustc_index",
3529+
"rustc_infer",
3530+
"rustc_lint",
3531+
"rustc_macros",
3532+
"rustc_middle",
3533+
"rustc_serialize",
3534+
"rustc_session",
3535+
"rustc_span",
3536+
"rustc_target",
3537+
"rustc_trait_selection",
3538+
"rustc_ty_utils",
3539+
"rustc_type_ir",
3540+
"smallvec",
3541+
"tracing",
3542+
]
3543+
35153544
[[package]]
35163545
name = "rustc_hir_pretty"
35173546
version = "0.0.0"
@@ -3591,6 +3620,7 @@ dependencies = [
35913620
"rustc_errors",
35923621
"rustc_expand",
35933622
"rustc_hir",
3623+
"rustc_hir_analysis",
35943624
"rustc_incremental",
35953625
"rustc_lint",
35963626
"rustc_macros",
@@ -3613,7 +3643,6 @@ dependencies = [
36133643
"rustc_trait_selection",
36143644
"rustc_traits",
36153645
"rustc_ty_utils",
3616-
"rustc_typeck",
36173646
"smallvec",
36183647
"tracing",
36193648
"winapi",
@@ -3923,12 +3952,12 @@ dependencies = [
39233952
"rustc_data_structures",
39243953
"rustc_errors",
39253954
"rustc_hir",
3955+
"rustc_hir_analysis",
39263956
"rustc_macros",
39273957
"rustc_middle",
39283958
"rustc_session",
39293959
"rustc_span",
39303960
"rustc_trait_selection",
3931-
"rustc_typeck",
39323961
"tracing",
39333962
]
39343963

@@ -4212,35 +4241,6 @@ dependencies = [
42124241
"smallvec",
42134242
]
42144243

4215-
[[package]]
4216-
name = "rustc_typeck"
4217-
version = "0.0.0"
4218-
dependencies = [
4219-
"rustc_arena",
4220-
"rustc_ast",
4221-
"rustc_attr",
4222-
"rustc_data_structures",
4223-
"rustc_errors",
4224-
"rustc_feature",
4225-
"rustc_graphviz",
4226-
"rustc_hir",
4227-
"rustc_hir_pretty",
4228-
"rustc_index",
4229-
"rustc_infer",
4230-
"rustc_lint",
4231-
"rustc_macros",
4232-
"rustc_middle",
4233-
"rustc_serialize",
4234-
"rustc_session",
4235-
"rustc_span",
4236-
"rustc_target",
4237-
"rustc_trait_selection",
4238-
"rustc_ty_utils",
4239-
"rustc_type_ir",
4240-
"smallvec",
4241-
"tracing",
4242-
]
4243-
42444244
[[package]]
42454245
name = "rustc_version"
42464246
version = "0.4.0"

‎compiler/rustc_codegen_llvm/src/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ impl<'ll> StaticMethods for CodegenCx<'ll, '_> {
552552
// `#[used(compiler)]` is explicitly requested. This is to avoid similar breakage
553553
// on other targets, in particular MachO targets have *their* static constructor
554554
// lists broken if `llvm.compiler.used` is emitted rather than llvm.used. However,
555-
// that check happens when assigning the `CodegenFnAttrFlags` in `rustc_typeck`,
555+
// that check happens when assigning the `CodegenFnAttrFlags` in `rustc_hir_analysis`,
556556
// so we don't need to take care of it here.
557557
self.add_compiler_used_global(g);
558558
}

0 commit comments

Comments
 (0)