Skip to content

Commit 0295237

Browse files
committed
Implement Debug for DefIdForest
1 parent 6417760 commit 0295237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use DefIdForest::*;
1818
/// We store the minimal set of `DefId`s required to represent the whole set. If A and B are
1919
/// `DefId`s in the `DefIdForest`, and A is a parent of B, then only A will be stored. When this is
2020
/// used with `type_uninhabited_from`, there will very rarely be more than one `DefId` stored.
21-
#[derive(Clone, HashStable)]
21+
#[derive(Clone, HashStable, Debug)]
2222
pub enum DefIdForest {
2323
Empty,
2424
Single(DefId),

0 commit comments

Comments
 (0)