mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
Update to the latest rustc version
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user