Update to the latest rustc version
This commit is contained in:
parent
1f9853ca27
commit
488fc53db9
1 changed files with 1 additions and 1 deletions
|
|
@ -2018,7 +2018,7 @@ pub fn def_ty<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
|||
substs: &'tcx Substs<'tcx>)
|
||||
-> Ty<'tcx>
|
||||
{
|
||||
let ty = tcx.item_type(def_id);
|
||||
let ty = tcx.type_of(def_id);
|
||||
apply_param_substs(tcx, substs, &ty)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue