mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
Remove AllLocalTraitImpls
This commit is contained in:
parent
d99b17fa64
commit
fa09db8468
@ -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),
|
||||
|
@ -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,
|
||||
|
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user