Skip to content

Rollup of 9 pull requests - #90109

Closed
GuillaumeGomez wants to merge 26 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-ja9ulx1
Closed

Rollup of 9 pull requests#90109
GuillaumeGomez wants to merge 26 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-ja9ulx1

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

syvband others added 26 commits July 8, 2021 14:13
The way octal literals are written in IP addresses differs from the way
they are written in Rust code, so the way that octal/hex literals in IPs
are written is explictly mentioned.
Now that there can't be a bunch of leading zeros, parsing can be
optimized a bit.
Co-authored-by: Cheng XU <3105373+xu-cheng@users.noreply.github.com>
I'm working on some LLVM patches in concert with a Rust patch, and it's
helping me quite a bit to have this as an option. It doesn't seem that
hard, so I figured I'd formalize it in x.py and send it upstream.
use array explicitly instead of vec for const content (even if optimizer smart enought to remove allocation)
Reject octal zeros in IPv4 addresses
This fixesrust-lang#86964 by rejecting octal zeros in IP addresses, such that `192.168.00.00000000` is rejected with a parse error, since having leading zeros in front of another zero indicates it is a zero written in octal notation, which is not allowed in the strict mode specified by RFC 6943 3.1.1. Octal rejection was implemented in rust-lang#83652, but due to the way it was implemented octal zeros were still allowed.
…in_overflow, r=m-ou-se
Avoid overflow in `VecDeque::with_capacity_in()`.
The overflow only happens if alloc is compiled with overflow checks enabled and the passed capacity is greater or equal 2^(usize::BITS-1). The overflow shadows the expected "capacity overflow" panic leading to a test failure if overflow checks are enabled for std in the CI.
Unblocks [CI: Enable overflow checks for test (non-dist) builds rust-lang#89776](rust-lang#89776).
For some reason the overflow is only observable with optimization turned off, but that is a separate issue.
…mulacrum
config: add the option to enable LLVM tests
I'm working on some LLVM patches in concert with a Rust patch, and it's
helping me quite a bit to have this as an option. It doesn't seem that
hard, so I figured I'd formalize it in x.py and send it upstream.
… r=jsha
Add test for line-number setting
The first commit updates the version of the package to be able to have multi-line commands (which looks much nicer for this test).
r? ``@jsha``
Remove hir::map::blocks and use FnKind instead
The principal tool is `FnLikeNode`, which is not often used and can be easily implemented using `rustc_hir::intravisit::FnKind`.
2229 migrations small cleanup
This removes needless `format!`'ing of empty string and replaces `vec!` with const strings with const array.
…ntry-reexported-macro, r=notriddle
Add test for duplicated sidebar entries for reexported macro
Fixesrust-lang#90015.
r? ``@notriddle``
…l-missing-doc-code-examples, r=jyn514
Add test to ensure that the missing_doc_code_examples is not triggered on foreign trait implementations
Fixesrust-lang#76450.
r? ``@jyn514``
…olnay
Fix MIRI UB in `Vec::swap_remove`
Fixesrust-lang#90055
I find it weird that `Vec::swap_remove` read the last element to the stack just to immediately put it back in the `Vec` in place of the one at index `index`. It seems much more natural to me to just read the element at position `index` and then move the last element in its place. I guess this might also slightly improve codegen.
@rustbotrustbot added the rollup A PR which is a rollup label Oct 20, 2021
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r+ p=9 rollup=never

@bors

bors commented Oct 20, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 0794293 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, 2021
@bors

bors commented Oct 20, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0794293 with merge 7e21ec3ad404efb5068e9d9327fc60cb2b5a6936...

@bors

bors commented Oct 21, 2021

Copy link
Copy Markdown
Collaborator

💥 Test timed out

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 21, 2021
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)

@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Oct 21, 2021
@hkratz

Copy link
Copy Markdown
Contributor

There is already a new rollup (#90119) currently in CI, so this one should probably be cancelled/closed.

@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

Closing then!

@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 21, 2021
@GuillaumeGomez
GuillaumeGomez deleted the rollup-ja9ulx1 branch October 21, 2021 09:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-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.

11 participants

@GuillaumeGomez@bors@rust-log-analyzer@hkratz@SkiFire13@qm3ster@rustbot@syvb@durin42@cjgillot@klensy