You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Note that as of May 2022, Polonius can be *very* slow for large functions.
109
109
/// It may take up to 30 seconds to analyze a single body with a large CFG.
110
110
#[allow(clippy::needless_lifetimes)]
111
-
pubfnget_body_with_borrowck_facts<'tcx>(
112
-
tcx:TyCtxt<'tcx>,
111
+
pubfnget_body_with_borrowck_facts(
112
+
tcx:TyCtxt<'_>,
113
113
def_id:LocalDefId,
114
-
) -> &'tcxBodyWithBorrowckFacts<'tcx>{
114
+
) -> &BodyWithBorrowckFacts<'_>{
115
115
let _ = tcx.mir_borrowck(def_id);
116
116
MIR_BODIES.with(|cache| {
117
117
let body = cache.get(&def_id, |_| panic!("mir_borrowck override should have stored body for item: {def_id:?}. Are you sure you registered borrowck_facts::override_queries?"));
0 commit comments