1
Fork 0

Use a field for is_anon.

This commit is contained in:
Camille GILLOT 2020-11-20 19:35:17 +01:00
parent 016ea6b319
commit 24f0b957e7
2 changed files with 18 additions and 18 deletions

View file

@ -37,7 +37,7 @@ impl rustc_query_system::dep_graph::DepKind for DepKind {
fn debug_node(node: &DepNode, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", node.kind)?;
if !node.kind.has_params() && !node.kind.is_anon() {
if !node.kind.has_params() && !node.kind.is_anon {
return Ok(());
}