Update to the latest rustc version

This commit is contained in:
Oliver Schneider 2017-04-27 13:48:19 +02:00
parent 1f9853ca27
commit 488fc53db9
No known key found for this signature in database
GPG key ID: A69F8D225B3AD7D9

View file

@ -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)
}