-
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
Recover from lifetimes with default lifetimes in generic args #107580
Recover from lifetimes with default lifetimes in generic args #107580
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
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.
The general approach looks fine, but I have some changes.
Can you give this PR a more descriptive name? Instead of explaining the problem, it should explain the solution... maybe "recover from lifetimes with default lifetimes in generic args", or something else.
@rustbot label -S-waiting-on-review +S-waiting-on-author |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
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.
Thanks, one last change then I think this is ready to approve. Maybe we could also suggest removing the default lifetime param, but I don't think it's super necessary.
Also, please rebase off of the merge commit 338aa5cfd4e263303de24e7419f39120f1f67d9e, the repository has a "no merge commit" policy. |
aac30a0
to
c6934bb
Compare
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in src/doc/style-guide cc @rust-lang/style These commits modify compiler targets.
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
I think your rebase hit the case described in https://rustc-dev-guide.rust-lang.org/git.html?highlight=rebase#git-is-trying-to-rebase-commits-i-didnt-write This should resolve itself automatically by rebasing over the latest rust-lang/rust master commit again |
92883e2
to
e58f9a8
Compare
e58f9a8
to
d9f6005
Compare
@rustbot label -S-waiting-on-author +S-waiting-on-review |
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.
Cool!
@bors r+ rollup |
Rollup of 5 pull requests Successful merges: - rust-lang#107553 (Suggest std::ptr::null if literal 0 is given to a raw pointer function argument) - rust-lang#107580 (Recover from lifetimes with default lifetimes in generic args) - rust-lang#107669 (rustdoc: combine duplicate rules in ayu CSS) - rust-lang#107685 (Suggest adding a return type for async functions) - rust-lang#107687 (Adapt SROA MIR opt for aggregated MIR) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #107492