Skip to content

Commit 488fc53

Browse files
committed
Update to the latest rustc version
1 parent 1f9853c commit 488fc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ pub fn def_ty<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
20182018
substs: &'tcx Substs<'tcx>)
20192019
-> Ty<'tcx>
20202020
{
2021-
let ty = tcx.item_type(def_id);
2021+
let ty = tcx.type_of(def_id);
20222022
apply_param_substs(tcx, substs, &ty)
20232023
}
20242024

0 commit comments

Comments
 (0)