Skip to content

Commit 00d02cf

Browse files
committed
chaned dep nodes impl
1 parent ad1959e commit 00d02cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/dep_graph/dep_node.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ impl<D: Clone + Debug> DepNode<D> {
257257
let def_ids: Option<Vec<E>> = def_ids.iter().map(op).collect();
258258
def_ids.map(|d| ProjectionCache { def_ids: d })
259259
}
260-
DescribeDef(ref d) => op(d).map(MetaData),
261-
DefSpan(ref d) => op(d).map(MetaData),
260+
DescribeDef(ref d) => op(d).map(DescribeDef),
261+
DefSpan(ref d) => op(d).map(DefSpan),
262262
}
263263
}
264264
}

0 commit comments

Comments
 (0)