Replace &'tcx List<Ty<'tcx>> in Tuple with SubstsRef<'tcx>

This commit is contained in:
varkor 2019-04-26 00:26:57 +01:00
parent 728a2db35e
commit 283ca7616c

View File

@ -171,7 +171,7 @@ pub enum TyKind<'tcx> {
Never,
/// A tuple type. For example, `(i32, bool)`.
Tuple(&'tcx List<Ty<'tcx>>),
Tuple(SubstsRef<'tcx>),
/// The projection of an associated type. For example,
/// `<T as Trait<..>>::N`.