We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99cc35d commit 0643764Copy full SHA for 0643764
compiler/rustc_mir/src/borrow_check/nll.rs
@@ -282,7 +282,7 @@ pub(in crate::borrow_check) fn compute_regions<'cx, 'tcx>(
282
283
if infcx.tcx.sess.opts.debugging_opts.polonius {
284
let algorithm =
285
- env::var("POLONIUS_ALGORITHM").unwrap_or_else(|_| String::from("Naive"));
+ env::var("POLONIUS_ALGORITHM").unwrap_or_else(|_| String::from("Hybrid"));
286
let algorithm = Algorithm::from_str(&algorithm).unwrap();
287
debug!("compute_regions: using polonius algorithm {:?}", algorithm);
288
let _prof_timer = infcx.tcx.prof.generic_activity("polonius_analysis");
0 commit comments