]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/query/plumbing.rs
Move the `krate` method to Hir and remove the Krate dep node
[rust.git] / src / librustc / ty / query / plumbing.rs
index 117a38c655eaa51a7b66808c66955afcd9705bef..6d9fff351e9b80d5bb21d4e3a963498fa5352cd6 100644 (file)
@@ -1177,7 +1177,6 @@ pub fn force_from_dep_node(tcx: TyCtxt<'_>, dep_node: &DepNode) -> bool {
         // These are inputs that are expected to be pre-allocated and that
         // should therefore always be red or green already.
         DepKind::AllLocalTraitImpls |
-        DepKind::Krate |
         DepKind::CrateMetadata |
         DepKind::HirBody |
         DepKind::Hir |