diff options
| author | Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> | 2025-07-26 13:26:11 +0900 |
|---|---|---|
| committer | Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> | 2025-07-26 13:26:11 +0900 |
| commit | 9e9ff76e32154be182ea2a8489249d6212f520e9 (patch) | |
| tree | ebebbdd6ef9c3936ff09d6ae9213dec44a78920c | |
| parent | b9827eb1d87146cf043a7ba2158424db4ab79a05 (diff) | |
| download | rust-9e9ff76e32154be182ea2a8489249d6212f520e9.tar.gz rust-9e9ff76e32154be182ea2a8489249d6212f520e9.zip | |
add Debug on AstSubst PathTransform.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
| -rw-r--r-- | src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs b/src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs index 0ab880bcfe7..36e28dfa4c5 100644 --- a/src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs +++ b/src/tools/rust-analyzer/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), |
