Auto merge of #45915 - michaelwoerister:removed-nodes-in-try-mark-green, r=alexcrichton

incr.comp.: Don't crash in DepGraph::try_mark_green() when encountering a removed input node.

Fixes a small regression that was introduced in #45867.

r? @nikomatsakis
This commit is contained in:
bors 2017-11-14 05:30:34 +00:00
commit b5a3ab2e81
4 changed files with 60 additions and 5 deletions

View file

@ -723,7 +723,7 @@ pub fn force_from_dep_node<'a, 'gcx, 'lcx>(tcx: TyCtxt<'a, 'gcx, 'lcx>,
// This one should never occur in this context
DepKind::Null => {
bug!("force_from_dep_node() - Encountered {:?}", dep_node.kind)
bug!("force_from_dep_node() - Encountered {:?}", dep_node)
}
// These are not queries