Use a field for is_anon.
This commit is contained in:
parent
016ea6b319
commit
24f0b957e7
2 changed files with 18 additions and 18 deletions
|
@ -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(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue