add Debug on AstSubst PathTransform.rs

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
This commit is contained in:
Hayashi Mikihiro 2025-07-26 13:26:11 +09:00
parent 51e77c9d7b
commit 4866c4c2eb

View File

@ -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),