Implement Debug for DefIdForest
This commit is contained in:
parent
6417760632
commit
02952372c4
@ -18,7 +18,7 @@ use DefIdForest::*;
|
|||||||
/// We store the minimal set of `DefId`s required to represent the whole set. If A and B are
|
/// We store the minimal set of `DefId`s required to represent the whole set. If A and B are
|
||||||
/// `DefId`s in the `DefIdForest`, and A is a parent of B, then only A will be stored. When this is
|
/// `DefId`s in the `DefIdForest`, and A is a parent of B, then only A will be stored. When this is
|
||||||
/// used with `type_uninhabited_from`, there will very rarely be more than one `DefId` stored.
|
/// used with `type_uninhabited_from`, there will very rarely be more than one `DefId` stored.
|
||||||
#[derive(Clone, HashStable)]
|
#[derive(Clone, HashStable, Debug)]
|
||||||
pub enum DefIdForest {
|
pub enum DefIdForest {
|
||||||
Empty,
|
Empty,
|
||||||
Single(DefId),
|
Single(DefId),
|
||||||
|
Loading…
Reference in New Issue
Block a user