Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #81889

Merged
merged 22 commits into from
Feb 8, 2021
Merged

Rollup of 9 pull requests #81889

merged 22 commits into from
Feb 8, 2021

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Feb 8, 2021

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

ehuss and others added 22 commits January 24, 2021 13:12
…sts-to-ui, r=oli-obk

Move treat err as bug tests to ui

cc `@oli-obk`
libtest: allow multiple filters

Libtest ignores any filters after the first. This changes it so that if multiple filters are passed, it will test against all of them.

This also affects compiletest to do the same.

Closes rust-lang#30422
faster few span methods

Touched few methods, so it should be (hopefully) faster.

First two changes: instead splitting string from start and taking only last piece, split it from the end.
Last: swapped conditions, to first check boolean parameter.
…lcnr

improve error message for disallowed ptr-to-int casts in const eval

Improves an error message as [suggested](rust-lang#80875 (comment)) in rust-lang#80875.

Does the wording make enough sense? I tried to follow precedent for error message style while maintaining brevity.

It seems like the rest of the `ConstEvalErrKind::NeedsRfc` error messages could be improved as well. I could give that a go if this approach works.

Closes rust-lang#80875
Add option to emit compiler stderr per bitwidth.

See rust-lang/compiler-team#365

r? `@oli-obk`
…ngs, r=estebank

parse_format: treat r" as a literal

This PR changes `format_args!` internal parsing machinery to treat raw strings starting `r"` as a literal.

Currently `"` and `r#` are recognised as valid starting combinations for string literals, but `r"` is not.

This was noticed when debugging rust-lang#67984 (comment)

As well as fixing the behavior observed in that comment, this improves diagnostic spans for `r"` formatting strings.
Show MIR bytes separately in -Zmeta-stats output

The size of serialized MIR is substantial enough to deserve its own category.
@rustbot rustbot added the rollup A PR which is a rollup label Feb 8, 2021
@m-ou-se
Copy link
Member Author

m-ou-se commented Feb 8, 2021

@bors r+ p=9 rollup=never

@bors
Copy link
Contributor

bors commented Feb 8, 2021

📌 Commit 9d1e8fe has been approved by m-ou-se

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 8, 2021
@bors
Copy link
Contributor

bors commented Feb 8, 2021

⌛ Testing commit 9d1e8fe with merge 0fc6756...

@bors
Copy link
Contributor

bors commented Feb 8, 2021

☀️ Test successful - checks-actions
Approved by: m-ou-se
Pushing 0fc6756 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 8, 2021
@bors bors merged commit 0fc6756 into rust-lang:master Feb 8, 2021
@rustbot rustbot added this to the 1.52.0 milestone Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup 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.