Unnamed repository; edit this file 'description' to name the repository.
add Debug on AstSubst PathTransform.rs
Signed-off-by: Hayashi Mikihiro <[email protected]>
| -rw-r--r-- | crates/ide-db/src/path_transform.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ide-db/src/path_transform.rs b/crates/ide-db/src/path_transform.rs index 0ab880bcfe..36e28dfa4c 100644 --- a/crates/ide-db/src/path_transform.rs +++ b/crates/ide-db/src/path_transform.rs @@ -15,12 +15,13 @@ use syntax::{ ted, }; -#[derive(Default)] +#[derive(Default, Debug)] struct AstSubsts { types_and_consts: Vec<TypeOrConst>, lifetimes: Vec<ast::LifetimeArg>, } +#[derive(Debug)] enum TypeOrConst { Either(ast::TypeArg), // indistinguishable type or const param Const(ast::ConstArg), |