about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/framework
diff options
context:
space:
mode:
authorSparrowLii <liyuan179@huawei.com>2022-08-01 10:23:09 +0800
committerSparrowLii <liyuan179@huawei.com>2022-08-22 18:10:28 +0800
commitd39fefdd694b02c7e7b4a64ccbb38d9f8be16df0 (patch)
tree25c432bb502d991d5d9d0150c1223ddb8dce8dfe /compiler/rustc_mir_dataflow/src/framework
parentd037f1843e9472d547dc22edbfb18788174c0754 (diff)
downloadrust-d39fefdd694b02c7e7b4a64ccbb38d9f8be16df0.tar.gz
rust-d39fefdd694b02c7e7b4a64ccbb38d9f8be16df0.zip
use type alias impl trait in `outlives_bounds::InferCtxtExt`
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/framework')
-rw-r--r--compiler/rustc_mir_dataflow/src/framework/mod.rs3
1 files changed, 2 insertions, 1 deletions
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>,