@@ -1244,7 +1244,7 @@ fn impl_polarity<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
1244
1244
}
1245
1245
1246
1246
// Is it marked with ?Sized
1247
- fn is_unsized < ' gcx : ' tcx , ' tcx > ( astconv : & AstConv < ' gcx , ' tcx > ,
1247
+ fn is_unsized < ' gcx : ' tcx , ' tcx > ( astconv : & dyn AstConv < ' gcx , ' tcx > ,
1248
1248
ast_bounds : & [ hir:: GenericBound ] ,
1249
1249
span : Span ) -> bool
1250
1250
{
@@ -1598,7 +1598,7 @@ pub enum SizedByDefault { Yes, No, }
1598
1598
/// Translate the AST's notion of ty param bounds (which are an enum consisting of a newtyped Ty or
1599
1599
/// a region) to ty's notion of ty param bounds, which can either be user-defined traits, or the
1600
1600
/// built-in trait (formerly known as kind): Send.
1601
- pub fn compute_bounds < ' gcx : ' tcx , ' tcx > ( astconv : & AstConv < ' gcx , ' tcx > ,
1601
+ pub fn compute_bounds < ' gcx : ' tcx , ' tcx > ( astconv : & dyn AstConv < ' gcx , ' tcx > ,
1602
1602
param_ty : Ty < ' tcx > ,
1603
1603
ast_bounds : & [ hir:: GenericBound ] ,
1604
1604
sized_by_default : SizedByDefault ,
@@ -1646,7 +1646,7 @@ pub fn compute_bounds<'gcx: 'tcx, 'tcx>(astconv: &AstConv<'gcx, 'tcx>,
1646
1646
/// because this can be anywhere from 0 predicates (`T:?Sized` adds no
1647
1647
/// predicates) to 1 (`T:Foo`) to many (`T:Bar<X=i32>` adds `T:Bar`
1648
1648
/// and `<T as Bar>::X == i32`).
1649
- fn predicates_from_bound < ' tcx > ( astconv : & AstConv < ' tcx , ' tcx > ,
1649
+ fn predicates_from_bound < ' tcx > ( astconv : & dyn AstConv < ' tcx , ' tcx > ,
1650
1650
param_ty : Ty < ' tcx > ,
1651
1651
bound : & hir:: GenericBound )
1652
1652
-> Vec < ty:: Predicate < ' tcx > >
0 commit comments