Skip to content

Commit 4866c4c

Browse files
committed
add Debug on AstSubst PathTransform.rs
Signed-off-by: Hayashi Mikihiro <[email protected]>
1 parent 51e77c9 commit 4866c4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/ide-db/src/path_transform.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ use syntax::{
1515
ted,
1616
};
1717

18-
#[derive(Default)]
18+
#[derive(Default, Debug)]
1919
struct AstSubsts {
2020
types_and_consts: Vec<TypeOrConst>,
2121
lifetimes: Vec<ast::LifetimeArg>,
2222
}
2323

24+
#[derive(Debug)]
2425
enum TypeOrConst {
2526
Either(ast::TypeArg), // indistinguishable type or const param
2627
Const(ast::ConstArg),

0 commit comments

Comments
 (0)