Remove AllLocalTraitImpls

This commit is contained in:
John Kåre Alsaker 2020-02-08 04:26:12 +01:00
parent d99b17fa64
commit fa09db8468
3 changed files with 1 additions and 12 deletions

View File

@ -35,7 +35,7 @@
//! "infer" some properties for each kind of `DepNode`:
//!
//! * Whether a `DepNode` of a given kind has any parameters at all. Some
//! `DepNode`s, like `AllLocalTraitImpls`, represent global concepts with only one value.
//! `DepNode`s could represent global concepts with only one value.
//! * Whether it is possible, in principle, to reconstruct a query key from a
//! given `DepNode`. Many `DepKind`s only require a single `DefId` parameter,
//! 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>
// Represents metadata from an extern crate.
[eval_always] CrateMetadata(CrateNum),
[eval_always] AllLocalTraitImpls,
[anon] TraitSelect,
[] CompileCodegenUnit(Symbol),

View File

@ -156,14 +156,6 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> {
)
};
{
dep_graph.input_task(
DepNode::new_no_params(DepKind::AllLocalTraitImpls),
&mut hcx,
&krate.trait_impls,
);
}
let mut collector = NodeCollector {
arena,
krate,

View File

@ -179,7 +179,6 @@ pub fn force_from_dep_node<'tcx>(tcx: TyCtxt<'tcx>, dep_node: &DepNode) -> bool
rustc_dep_node_force!([dep_node, tcx]
// These are inputs that are expected to be pre-allocated and that
// should therefore always be red or green already.
DepKind::AllLocalTraitImpls |
DepKind::CrateMetadata |
DepKind::HirBody |
DepKind::Hir |