From d39fefdd694b02c7e7b4a64ccbb38d9f8be16df0 Mon Sep 17 00:00:00 2001 From: SparrowLii Date: Mon, 1 Aug 2022 10:23:09 +0800 Subject: use type alias impl trait in `outlives_bounds::InferCtxtExt` --- compiler/rustc_mir_dataflow/src/framework/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/rustc_mir_dataflow/src') diff --git a/compiler/rustc_mir_dataflow/src/framework/mod.rs b/compiler/rustc_mir_dataflow/src/framework/mod.rs index f9fd6c9c56b..d9aff94fef2 100644 --- a/compiler/rustc_mir_dataflow/src/framework/mod.rs +++ b/compiler/rustc_mir_dataflow/src/framework/mod.rs @@ -256,6 +256,7 @@ pub trait Analysis<'tcx>: AnalysisDomain<'tcx> { /// .iterate_to_fixpoint() /// .into_results_cursor(body); /// ``` + #[inline] fn into_engine<'mir>( self, tcx: TyCtxt<'tcx>, @@ -413,7 +414,7 @@ where } /* Extension methods */ - + #[inline] fn into_engine<'mir>( self, tcx: TyCtxt<'tcx>, -- cgit 1.4.1-3-g733a5