mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 21:04:18 +00:00
add Debug on AstSubst PathTransform.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
This commit is contained in:
parent
51e77c9d7b
commit
4866c4c2eb
1 changed files with 2 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue