Skip to content

Commit e0a0256

Browse files
committed
Fix missing variable.
1 parent 3c03242 commit e0a0256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ fn get_nullable_type<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option<Ty<'tcx>>
10421042
ty
10431043
}
10441044
ty::Alias(ty::Projection, alias_ty) => {
1045-
let ty::AliasTy { def_id, .. } = alias_ty;
1045+
let ty::AliasTy { def_id, args, .. } = alias_ty;
10461046
debug!("get_nullable_type: alias def_id: {:?}", def_id);
10471047

10481048
let assoc_item = tcx.associated_item(def_id);

0 commit comments

Comments
 (0)