-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Require lifetime bounds for opaque types in order to allow hidden types to capture said lifetimes #102417
Conversation
r? @TaKO8Ki (rust-highfive has picked a reviewer for you, use r? to override) |
r? @jackh726 |
☔ The latest upstream changes (presumably #102700) made this pull request unmergeable. Please resolve the merge conflicts. |
…es to capture said lifetimes
403206c
to
1dc2119
Compare
@bors r+ rollup=never While unstable, this a "breaking change" for TAITs, so I'd rather this not land in a rollup, so bisection will be easier for the inevitable issues filed. |
⌛ Testing commit 1dc2119 with merge 1e5d3a66a9b79074d8bfe520b64eb62707e9beb0... |
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (cb94675): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Footnotes |
type alias impl trait: add tests showing that hidden type only outlives lifetimes that occur in bounds fixes rust-lang#103642 rust-lang#102417 only made sure that hidden types cannot outlive lifetimes other than the ones mentioned on bounds, but didn't allow us to actually infer anything from that. cc `@aliemjay`
Require lifetime bounds for opaque types in order to allow hidden types to capture said lifetimes fixes rust-lang#96996 cc `@aliemjay`
fixes #96996
cc @aliemjay