1
Fork 0

TypeParameterDefinition always require a DefId

This commit is contained in:
lcnr 2023-07-04 11:50:51 +02:00
parent 52d8c490a3
commit 594cd84a94
5 changed files with 8 additions and 8 deletions

View file

@ -1110,7 +1110,7 @@ impl<'tcx> InferCtxt<'tcx> {
TypeVariableOrigin {
kind: TypeVariableOriginKind::TypeParameterDefinition(
param.name,
Some(param.def_id),
param.def_id,
),
span,
},