Skip to content

Rollup of 9 pull requests - #78158

Closed
GuillaumeGomez wants to merge 21 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-hlisvkv
Closed

Rollup of 9 pull requests#78158
GuillaumeGomez wants to merge 21 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-hlisvkv

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

bugadaniand others added 21 commits October 17, 2020 13:18
Interning can skip any inhabited ZST type in general.
Now refers to `wrapping_*`, not `checked_*` for wrapping intrinsics.
These parameters don't get modified.
…, r=oli-obk
Optimize const value interning for ZST types
Interning can skip any inhabited ZST type in general.
Fixesrust-lang#68010
r? @oli-obk
Move orphan module-name/mod.rs files into module-name.rs files
Wrapping intrinsics doc links update.
The links in the wrapping intrinsics docs now refer to the `wrapping_*` functions, not the `checked_*` functions.
Add some MIR-related regression tests
Closesrust-lang#68841Closesrust-lang#75053Closesrust-lang#76375Closesrust-lang#77911
I think they're fixed by rust-lang#77306.
Don't update `entries` in `TypedArena` if T does not need drop
As far as I can tell, `entries` is only used when dropping `TypedArenaChunk`s and their contents. It is already ignored there, if T is not `mem::needs_drop`, this PR just skips updating it's value.
You can see `TypedArenaChunk` ignoring the entry count in L71. The reasoning is similar to what you can find in `DroplessArena`.
r? @oli-obk
…ievink
Drop unneeded `mut`
These parameters don't get modified.
Note that `trailing_comment` is pub and gets exported from `rustc_ast_pretty`. Is that considered to be a stable API? If yes, and you want to reserve the right to modify `self` in `trailing_comment` in the future, that hunk would need to be dropped.
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r+ p=9

@bors

bors commented Oct 20, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 8ac8b56 has been approved by GuillaumeGomez

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 20, 2020
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r-

@borsbors 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 Oct 20, 2020
@GuillaumeGomez
GuillaumeGomez deleted the rollup-hlisvkv branch October 20, 2020 19:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-authorStatus: This is awaiting some action (such as code changes or more information) from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@GuillaumeGomez@bors@bugadani@wesleywiser@RalfJung@est31@mbartlett21@JohnTitor@LingMan