mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Lower const params with a bad id
This commit is contained in:
parent
68bdf609f3
commit
a481e004b0
38 changed files with 475 additions and 184 deletions
|
@ -98,6 +98,7 @@ impl AstIdMap {
|
|||
|| ast::Variant::can_cast(kind)
|
||||
|| ast::RecordField::can_cast(kind)
|
||||
|| ast::TupleField::can_cast(kind)
|
||||
|| ast::Expr::can_cast(kind)
|
||||
{
|
||||
res.alloc(&it);
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue