Skip to content

Rollup of 8 pull requests - #57823

Closed
Centril wants to merge 22 commits into
rust-lang:masterfrom
Centril:rollup
Closed

Rollup of 8 pull requests#57823
Centril wants to merge 22 commits into
rust-lang:masterfrom
Centril:rollup

Conversation

@Centril

Copy link
Copy Markdown
Contributor

Successful merges:

Failed merges:

r? @ghost

ishitatsuyukiand others added 22 commits January 16, 2019 23:08
When trying to use a value after move, instead of using a note, point
at the local declaration that has a type that doesn't implement `Copy`
trait.
…k frame
Usually the layout of any locals is required at least three times, once
when it becomes live, once when it is written to, and once it is read
from. By adding a cache for them, we can reduce the number of layout
queries speeding up code that is heavy on const_eval.
…sakis
When using value after move, point at span of local
When trying to use a value after move, instead of using a note, point
at the local declaration that has a type that doesn't implement `Copy`
trait.
```
error[E0382]: use of moved value: `x`
--> $DIR/issue-34721.rs:27:9
|
LL | pub fn baz<T: Foo>(x: T) -> T {
| - - move occurs because `x` has type `T`, which does not implement the `Copy` trait
| |
| consider adding a `Copy` constraint to this type argument
LL | if 0 == 1 {
LL | bar::bar(x.zero())
| - value moved here
LL | } else {
LL | x.zero()
| - value moved here
LL | };
LL | x.zero()
| ^ value used here after move
```
Fixrust-lang#34721.
…ietMisdreavus
Default images
Add default rust logo (the image at the top of the sidebar) and default favicon. No more missing image or inexistent icon on the documentation tabs!
r? @QuietMisdreavus
Fix memory leak in P::filter_map
Probably this function isn't widely used, but anyway this wasn't working as intended.
r? @eddyb
Do not rollup if you want to see if max-rss change in perf.
const_eval: Predetermine the layout of all locals when pushing a stack frame
Usually the layout of any locals is required at least three times, once
when it becomes live, once when it is written to, and once it is read
from. By adding a cache for them, we can reduce the number of layout
queries speeding up code that is heavy on const_eval.
…ertj
Merge visitors in AST validation
Cuts runtime for AST validation on `syntex_syntax` from 31.5 ms to 17 ms.
@Centril

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=8

@bors

bors commented Jan 21, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 39b92c1 has been approved by Centril

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

bors commented Jan 22, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 39b92c1 with merge 4aeeaabc6507a82913b8cf4c4cda018c691b63f6...

@bors

bors commented Jan 22, 2019

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-travis

@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 Jan 22, 2019
@CentrilCentril closed this Jan 22, 2019
@Centril
Centril deleted the rollup branch January 22, 2019 03:46
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
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-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Centril@bors@ishitatsuyuki@Zoxc@estebank@GuillaumeGomez@dotdash