-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix ICE when opaque captures a duplicated/invalid lifetime #135000
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC #131295 is not a dupe of the others so it shouldn't be fixed by this PR? Like, someone added an MCVE there by mistake that involved shadowing or something, like you've fixed here.
r=me with the blessed expectations + error annotation in the test, and the "fixes 131295" removed if it indeed shouldn't be present.
b7a4dcc
to
d3c6067
Compare
Changes to the size of AST and/or HIR nodes. cc @nnethercote |
@bors r=lqd rollup |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#134967 (handle submodules automatically on `doc` steps) - rust-lang#134973 (Fix typos) - rust-lang#134984 (`ObligationCause` construction tweaks in typeck) - rust-lang#134985 (Remove qualification of `std::cmp::Ordering` in `Ord` doc) - rust-lang#135000 (Fix ICE when opaque captures a duplicated/invalid lifetime) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135000 - compiler-errors:opaque-captures-dupe, r=lqd Fix ICE when opaque captures a duplicated/invalid lifetime See description on test. Fixes rust-lang#132766 Fixes rust-lang#133693 Fixes rust-lang#134780
See description on test.
Fixes #132766
Fixes #133693
Fixes #134780