Skip to content

Commit fa09db8

Browse files
committed
Remove AllLocalTraitImpls
1 parent d99b17f commit fa09db8

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/librustc/dep_graph/dep_node.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
//! "infer" some properties for each kind of `DepNode`:
3636
//!
3737
//! * Whether a `DepNode` of a given kind has any parameters at all. Some
38-
//! `DepNode`s, like `AllLocalTraitImpls`, represent global concepts with only one value.
38+
//! `DepNode`s could represent global concepts with only one value.
3939
//! * Whether it is possible, in principle, to reconstruct a query key from a
4040
//! given `DepNode`. Many `DepKind`s only require a single `DefId` parameter,
4141
//! in which case it is possible to map the node's fingerprint back to the
@@ -351,8 +351,6 @@ rustc_dep_node_append!([define_dep_nodes!][ <'tcx>
351351
// Represents metadata from an extern crate.
352352
[eval_always] CrateMetadata(CrateNum),
353353

354-
[eval_always] AllLocalTraitImpls,
355-
356354
[anon] TraitSelect,
357355

358356
[] CompileCodegenUnit(Symbol),

src/librustc/hir/map/collector.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,6 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> {
156156
)
157157
};
158158

159-
{
160-
dep_graph.input_task(
161-
DepNode::new_no_params(DepKind::AllLocalTraitImpls),
162-
&mut hcx,
163-
&krate.trait_impls,
164-
);
165-
}
166-
167159
let mut collector = NodeCollector {
168160
arena,
169161
krate,

src/librustc/ty/query/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ pub fn force_from_dep_node<'tcx>(tcx: TyCtxt<'tcx>, dep_node: &DepNode) -> bool
179179
rustc_dep_node_force!([dep_node, tcx]
180180
// These are inputs that are expected to be pre-allocated and that
181181
// should therefore always be red or green already.
182-
DepKind::AllLocalTraitImpls |
183182
DepKind::CrateMetadata |
184183
DepKind::HirBody |
185184
DepKind::Hir |

0 commit comments

Comments
 (0)