Skip to content

check that AsRef and AsMut are inlined #71576

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

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Apr 26, 2020

Adds a regression test for #58867

r? @Dylan-DPC

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 26, 2020
@Dylan-DPC-zz
Copy link

since this touches MIR r? @oli-obk

@oli-obk
Copy link
Contributor

oli-obk commented Apr 26, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 26, 2020

📌 Commit cf61a56 has been approved by oli-obk

@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 Apr 26, 2020
@oli-obk
Copy link
Contributor

oli-obk commented Apr 26, 2020

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#71421 (Add a function to turn Box<T> into Box<[T]>)
 - rust-lang#71537 (Remove support for self-opening)
 - rust-lang#71551 (Minor refactoring around IndexVec usage in generator transformation)
 - rust-lang#71569 ([miri] Throw UB if target size and data size don't match)
 - rust-lang#71576 (check that `AsRef` and `AsMut` are inlined)

Failed merges:

 - rust-lang#71558 (Cleanup and document `-Z tls-model` )

r? @ghost
@bors bors merged commit 962cae0 into rust-lang:master Apr 26, 2020
@lcnr lcnr deleted the inline-as_mut branch April 27, 2020 06:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: 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.

5 participants