Skip to content

Rollup of 5 pull requests - #71879

Merged
bors merged 11 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-n05awny
May 4, 2020
Merged

Rollup of 5 pull requests#71879
bors merged 11 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-n05awny

Conversation

@Dylan-DPC-zz

Copy link
Copy Markdown

Successful merges:

Failed merges:

r? @ghost

lcnrand others added 11 commits April 29, 2020 19:29
- Documented rationale of current solution
- Polished documentation
I believe that this is a copy/paste error; this example was using f32,
but it's the docs for f64.
…pnkfelix
forbid `dyn Trait` in patterns
Do not allow `&dyn Trait` as a generic const parameters.
This also changes dyn trait in pattern from ICE to error.
closesrust-lang#63322closesrust-lang#70972
r? @eddyb
…wesleywiser
Added MIR constant propagation of Scalars into function call arguments
Now for the function call arguments!
Caveats:
1. It's only being enabled at `mir-opt-2` or higher, because currently codegen gives performance regressions with this optimization.
2. Only propagates Scalars. Tuples and references (references are `Indirect`, right??) are not being propagated into as of this PR.
3. Maybe more tests would be nice?
4. I need (shamefully) to ask @wesleywiser to write in his words (or explain to me, and then I can write it down) why we want to ignore propagation into `ScalarPairs` and `Indirect` arguments.
r? @wesleywiser
…ark-Simulacrum
Use f64 in f64 examples
I believe that this is a copy/paste error; this example was using f32,
but it's the docs for f64.
@Dylan-DPC-zz

Copy link
Copy Markdown
Author

@bors r+ rollup=never p=5

@bors

bors commented May 4, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit fc2837b 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 May 4, 2020
@bors

bors commented May 4, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fc2837b with merge 2454a68...

@bors

bors commented May 4, 2020

Copy link
Copy Markdown
Collaborator

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

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label May 4, 2020
@bors
bors merged commit 2454a68 into rust-lang:masterMay 4, 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@lcnr@tshepang@felix91gr@estebank@steveklabnik@Dylan-DPC