@@ -1244,7 +1244,7 @@ fn impl_polarity<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
12441244}
12451245
12461246// 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 > ,
12481248 ast_bounds : & [ hir:: GenericBound ] ,
12491249 span : Span ) -> bool
12501250{
@@ -1598,7 +1598,7 @@ pub enum SizedByDefault { Yes, No, }
15981598/// Translate the AST's notion of ty param bounds (which are an enum consisting of a newtyped Ty or
15991599/// a region) to ty's notion of ty param bounds, which can either be user-defined traits, or the
16001600/// 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 > ,
16021602 param_ty : Ty < ' tcx > ,
16031603 ast_bounds : & [ hir:: GenericBound ] ,
16041604 sized_by_default : SizedByDefault ,
@@ -1646,7 +1646,7 @@ pub fn compute_bounds<'gcx: 'tcx, 'tcx>(astconv: &AstConv<'gcx, 'tcx>,
16461646/// because this can be anywhere from 0 predicates (`T:?Sized` adds no
16471647/// predicates) to 1 (`T:Foo`) to many (`T:Bar<X=i32>` adds `T:Bar`
16481648/// 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 > ,
16501650 param_ty : Ty < ' tcx > ,
16511651 bound : & hir:: GenericBound )
16521652 -> Vec < ty:: Predicate < ' tcx > >
0 commit comments