mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Use ConstArg
instead of Expr
for AstId
of InTypeConstId
This commit is contained in:
parent
d9136df9e5
commit
f8594f78bb
13 changed files with 29 additions and 28 deletions
|
@ -98,7 +98,7 @@ impl AstIdMap {
|
|||
|| ast::Variant::can_cast(kind)
|
||||
|| ast::RecordField::can_cast(kind)
|
||||
|| ast::TupleField::can_cast(kind)
|
||||
|| ast::Expr::can_cast(kind)
|
||||
|| ast::ConstArg::can_cast(kind)
|
||||
{
|
||||
res.alloc(&it);
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue