-
Notifications
You must be signed in to change notification settings - Fork 13.4k
NLL: Better Diagnostic When "Later" means "A Future Loop Iteration" #52948
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
NLL: Better Diagnostic When "Later" means "A Future Loop Iteration" #52948
Conversation
…erations of loops.
This is officially awesome. Check out those diagnostics, especially for a case like rust/src/test/ui/issue-52126-assign-op-invariance.rs Lines 42 to 58 in 1863cb7
which previously under AST-borrowck printed: rust/src/test/ui/issue-52126-assign-op-invariance.stderr Lines 1 to 10 in 1863cb7
but with this PR prints: rust/src/test/ui/issue-52126-assign-op-invariance.nll.stderr Lines 1 to 11 in 1863cb7
|
@bors r+ |
📌 Commit 1863cb7 has been approved by |
…eration, r=pnkfelix NLL: Better Diagnostic When "Later" means "A Future Loop Iteration" Part of rust-lang#52663. r? @pnkfelix
…eration, r=pnkfelix NLL: Better Diagnostic When "Later" means "A Future Loop Iteration" Part of rust-lang#52663. r? @pnkfelix
☀️ Test successful - status-appveyor, status-travis |
Part of #52663.
r? @pnkfelix