Add inferred args to typeck

This commit is contained in:
kadmin
2021-04-26 18:19:23 +00:00
parent 417b098cfc
commit 3605675bb1
18 changed files with 132 additions and 52 deletions

View File

@@ -272,11 +272,11 @@ impl<'hir> Map<'hir> {
GenericParamKind::Type { .. } => DefKind::TyParam,
GenericParamKind::Const { .. } => DefKind::ConstParam,
},
Node::Infer(_) => todo!(),
Node::Crate(_) => DefKind::Mod,
Node::Stmt(_)
| Node::PathSegment(_)
| Node::Ty(_)
| Node::Infer(_)
| Node::TraitRef(_)
| Node::Pat(_)
| Node::Binding(_)