From 9e9ff76e32154be182ea2a8489249d6212f520e9 Mon Sep 17 00:00:00 2001 From: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> Date: Sat, 26 Jul 2025 13:26:11 +0900 Subject: add Debug on AstSubst PathTransform.rs Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> --- src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, lifetimes: Vec, } +#[derive(Debug)] enum TypeOrConst { Either(ast::TypeArg), // indistinguishable type or const param Const(ast::ConstArg), -- cgit 1.4.1-3-g733a5