Skip to content

Rollup of 8 pull requests #118293

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

Closed
wants to merge 22 commits into from

Conversation

GuillaumeGomez
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

tamird and others added 22 commits November 22, 2023 14:25
`Option::unwrap` is called on the next line.
And move declarative macro compilation to an earlier point in def collector, which is required for rust-lang#118188.
…_const, r=b-naber

Yeet `mir::Const::from_anon_const`

Only had one callsite which was easily simplified.

Uplifted a comment that I think is much more useful living in `ty::Const` world.
remove unused pub fns

This removes some unused `pub fn`; also fixes few obsoleted fn names or added fixmes with reminders to update them.
rustc_lint: address latent TODO

See individual commits.
Remove `HirId` from `QPath::LangItem`

Remove `HirId` from `QPath::LangItem`, since there was only *one* use-case (`ObligationCauseCode::AwaitableExpr`), which we can instead recover by walking the HIR tree.
resolve: Avoid clones of `MacroData`

And move declarative macro compilation to an earlier point in def collector, which is required for rust-lang#118188.
Use `is_{some,ok}_and` more in the compiler

slightly more fluent-reading code
…c, r=fmease

`is_{some,ok}_and` for rustdoc

slightly more fluent-reading code

r? fmease
…GuillaumeGomez

rustdoc-search: clean up some DOM code
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Nov 25, 2023
@GuillaumeGomez
Copy link
Member Author

@bors r+ p=10 rollup=never

@bors
Copy link
Collaborator

bors commented Nov 25, 2023

📌 Commit a81620d has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 25, 2023
@compiler-errors
Copy link
Member

Sorry, just tweaked #118288.

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 25, 2023
@compiler-errors
Copy link
Member

No need to wait for that one to be r+'d, probably best to just open a new rollup without that one

@GuillaumeGomez GuillaumeGomez deleted the rollup-49ytwor branch November 25, 2023 18:50
@GuillaumeGomez
Copy link
Member Author

Ok, thanks for the heads up!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants