Skip to content

Rollup of 5 pull requests - #71255

Merged
bors merged 12 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-u5yl04z
Apr 17, 2020
Merged

Rollup of 5 pull requests#71255
bors merged 12 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-u5yl04z

Conversation

@Dylan-DPC-zz

Copy link
Copy Markdown

Successful merges:

Failed merges:

r? @ghost

ecstatic-morseand others added 12 commits April 9, 2020 14:56
1. Fixed doc comment of struct 'rustc_middle::mir::Location'
Currently, the general explanation of the struct appears at the field
explanation section. I moved and changed the doc comments slightly, so
that the general explanation would appear in the proper location in
docs.
2. Added doc comment explaining 'rustc_mir::util::pretty::write_mir_fn'
Unlike other counterparts, brief explanation for this function was missing,
so I added one.
Thank you for reviewing this PR :)
Use query to determine whether function needs const checking
Resolvesrust-lang#69615.
The HIR const-checker was checking the `constness` of a function's `fn_sig` to determine whether a function needed const-checking. Now that const trait impls are a thing, this is no longer enough. All code should use the `is_const_fn_raw` query instead, which takes the constness of the impl block into account.
r? @oli-obk
Rename `asm` test directory in favor of `llvm_asm`
r? @Amanieu
Implement `Clone` for `liballoc::collections::linked_list::Cursor`.
This implements `Clone` for linked list `Cursor`. Implementing `Copy` is also possible here, but i'm not sure whether i should also do it.
r? @Amanieu
Remove unnecessary variable intialization
Minor fix.
Minor fix and addition to doc comments
1. Fixed doc comment of struct 'rustc_middle::mir::Location'
Currently, the general explanation of the struct appears at the field
explanation section. I moved and changed the doc comments slightly, so
that the general explanation would appear in the proper location in
docs.
2. Added doc comment explaining 'rustc_mir::util::pretty::write_mir_fn'
Unlike other counterparts, brief explanation for this function was missing,
so I added one.
Thank you for reviewing this PR :)
@Dylan-DPC-zz

Copy link
Copy Markdown
Author

@bors r+ rollup=never p=5

@bors

bors commented Apr 17, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 4132642 has been approved by Dylan-DPC

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

bors commented Apr 17, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 4132642 with merge ce93331...

@bors

bors commented Apr 17, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-azure
Approved by: Dylan-DPC
Pushing ce93331 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 17, 2020
@bors
bors merged commit ce93331 into rust-lang:masterApr 17, 2020
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.S-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.

8 participants

@Dylan-DPC-zz@bors@ecstatic-morse@JohnTitor@ldm0@crlf0710@JOE1994@Dylan-DPC