Skip to content

Rollup of 7 pull requests - #75276

Merged
bors merged 35 commits into
rust-lang:masterfrom
JohnTitor:rollup-rz4hs0w
Aug 8, 2020
Merged

Rollup of 7 pull requests#75276
bors merged 35 commits into
rust-lang:masterfrom
JohnTitor:rollup-rz4hs0w

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Aaron1011and others added 30 commits August 6, 2020 12:12
Fixesrust-lang#75096
It's U.B. to use anything other than inline assmebling in a naked
function. Fortunately, the `#break` directive works fine without
anything in the function body.
We need to use inline assembly, which is inherently platform-specific.
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
* Add docstring to `Parser` field
* Remove unnecessary `unwrap`
* Remove unnecessary borrow
* Fix indentation of some `teach`text output
…ked, r=Amanieu
Don't call a function in function-arguments-naked.rs
Fixesrust-lang#75096
It's U.B. to use anything other than inline assmebling in a naked
function. Fortunately, the `#break` directive works fine without
anything in the function body.
Display elided lifetime for non-reference type in doc
In edition 2018 we encourage writing `<'_>` explicitly, so rustdoc should display like such as well.
Fixesrust-lang#75225
~~Somehow when I run the compiled rustdoc using `cargo +stage2 doc` on other crates, it correctly produces `<'_>`, but I couldn't get the std doc to do the same with `./x.py doc --stage 2`. Might this be related to the recent change to x.py about how the doc is built?~~
make MaybeUninit::as_(mut_)ptr const
I think it was just an oversight that they are not const yet.
I also changed their implementation as the old one created references to uninitialized memory.^^
clean up const-hacks in int endianess conversion functions
Cleans up the const hacks added in rust-lang#69373.
r? @oli-obk
Small cleanup
* Add docstring to `Parser` field
* Remove unnecessary `unwrap`
* Remove unnecessary borrow
* Fix indentation of some `teach`text output
@JohnTitor

Copy link
Copy Markdown
MemberAuthor

@rustbot modify labels: +rollup
@bors r+ rollup=never p=5

@rustbotrustbot added the rollup A PR which is a rollup label Aug 8, 2020
@bors

bors commented Aug 8, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 21bfe52 has been approved by JohnTitor

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

bors commented Aug 8, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 21bfe52 with merge 1d100ba...

@bors

bors commented Aug 8, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions, checks-azure
Approved by: JohnTitor
Pushing 1d100ba to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Aug 8, 2020
@bors
bors merged commit 1d100ba into rust-lang:masterAug 8, 2020
@JohnTitor
JohnTitor deleted the rollup-rz4hs0w branch August 8, 2020 08:24
@cuvipercuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@JohnTitor@bors@cuviper@rustbot@Aaron1011@RalfJung@giraffate@estebank@matthiaskrgr@nbdd0121