-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does compare-mode=nll do these days? #78915
Comments
@rustbot modify labels: +A-diagnostics +T-compiler |
I could find two differences:
First regionck being skipped instead of given the opportunity to report errors: rust/compiler/rustc_infer/src/infer/lexical_region_resolve/mod.rs Lines 45 to 59 in 85fbf49
Second a fix for #56254 ([NLL] prohibit "two-phase borrows" with existing borrows?) rust/compiler/rustc_mir/src/borrow_check/mod.rs Lines 1118 to 1134 in c4fe25d
|
@bjorn3 interesting, in #76765, |
Regionck is an artifact of the fact that the old ast borrowck used lexical lifetimes. With polonius it doesn't even make sense to talk about regions anymore. |
@bjorn3 should we get rid of the distinction between "migrate" and "nll", it may say ci time and also will eventually be entirely replaced by polonious, as far as i can tell? |
Migrate is the current behavior and nll is what it should become I think. |
Going to close this since NLL is tracked elsewhere. |
See #76765 (comment)
what does compare-mode=nll actually represent these days? I thought nll was long-since stable
cc @tmandry
The text was updated successfully, but these errors were encountered: