@@ -309,17 +309,13 @@ pub(crate) struct FunctionCx<'m, 'clif, 'tcx: 'm> {
309309}
310310
311311impl < ' tcx > LayoutOfHelpers < ' tcx > for FunctionCx < ' _ , ' _ , ' tcx > {
312- type LayoutOfResult = TyAndLayout < ' tcx > ;
313-
314312 #[ inline]
315313 fn handle_layout_err ( & self , err : LayoutError < ' tcx > , span : Span , ty : Ty < ' tcx > ) -> ! {
316314 RevealAllLayoutCx ( self . tcx ) . handle_layout_err ( err, span, ty)
317315 }
318316}
319317
320318impl < ' tcx > FnAbiOfHelpers < ' tcx > for FunctionCx < ' _ , ' _ , ' tcx > {
321- type FnAbiOfResult = & ' tcx FnAbi < ' tcx , Ty < ' tcx > > ;
322-
323319 #[ inline]
324320 fn handle_fn_abi_err (
325321 & self ,
@@ -450,8 +446,6 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> {
450446pub ( crate ) struct RevealAllLayoutCx < ' tcx > ( pub ( crate ) TyCtxt < ' tcx > ) ;
451447
452448impl < ' tcx > LayoutOfHelpers < ' tcx > for RevealAllLayoutCx < ' tcx > {
453- type LayoutOfResult = TyAndLayout < ' tcx > ;
454-
455449 #[ inline]
456450 fn handle_layout_err ( & self , err : LayoutError < ' tcx > , span : Span , ty : Ty < ' tcx > ) -> ! {
457451 if let LayoutError :: SizeOverflow ( _) | LayoutError :: ReferencesError ( _) = err {
@@ -466,8 +460,6 @@ impl<'tcx> LayoutOfHelpers<'tcx> for RevealAllLayoutCx<'tcx> {
466460}
467461
468462impl < ' tcx > FnAbiOfHelpers < ' tcx > for RevealAllLayoutCx < ' tcx > {
469- type FnAbiOfResult = & ' tcx FnAbi < ' tcx , Ty < ' tcx > > ;
470-
471463 #[ inline]
472464 fn handle_fn_abi_err (
473465 & self ,
0 commit comments