use type alias impl trait in outlives_bounds::InferCtxtExt

This commit is contained in:
SparrowLii 2022-08-01 10:23:09 +08:00
parent d037f1843e
commit d39fefdd69
5 changed files with 26 additions and 14 deletions

View file

@ -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>,