Skip to content

Remove raw string literal quotes from error index descriptions - #64422

Merged
bors merged 1 commit into
rust-lang:masterfrom
ollie27:error_index_generator_stringify
Sep 14, 2019
Merged

Remove raw string literal quotes from error index descriptions#64422
bors merged 1 commit into
rust-lang:masterfrom
ollie27:error_index_generator_stringify

Conversation

@ollie27

@ollie27ollie27 commented Sep 13, 2019

Copy link
Copy Markdown
Contributor

The error index has unnecessary r##" and "## around the descriptions from #63721. Removing the stringify call removes them.

r? @Mark-Simulacrum

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 13, 2019

@Mark-SimulacrumMark-Simulacrum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me if you can check and confirm src/libsyntax/diagnostics/macros.rs does not need the same fix.

@ollie27

Copy link
Copy Markdown
ContributorAuthor

src/libsyntax/diagnostics/macros.rs doesn't have the same issue:

$((stringify!($ecode), $message),)*

rustc --explain still works properly.

@bors r=Mark-Simulacrum

@bors

bors commented Sep 13, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit bd25507 has been approved by Mark-Simulacrum

@borsbors 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 Sep 13, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 13, 2019
…gify, r=Mark-Simulacrum
Remove raw string literal quotes from error index descriptions
The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them.
r? @Mark-Simulacrum
@CentrilCentril mentioned this pull request Sep 13, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
…gify, r=Mark-Simulacrum
Remove raw string literal quotes from error index descriptions
The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them.
r? @Mark-Simulacrum
@CentrilCentril mentioned this pull request Sep 14, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
…gify, r=Mark-Simulacrum
Remove raw string literal quotes from error index descriptions
The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them.
r? @Mark-Simulacrum
@CentrilCentril mentioned this pull request Sep 14, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
…gify, r=Mark-Simulacrum
Remove raw string literal quotes from error index descriptions
The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them.
r? @Mark-Simulacrum
@CentrilCentril mentioned this pull request Sep 14, 2019
bors added a commit that referenced this pull request Sep 14, 2019
Rollup of 17 pull requests
Successful merges:
- #63846 (Added table containing the system calls used by Instant and SystemTime.)
- #64116 (Fix minor typo in docs.)
- #64203 (A few cosmetic improvements to code & comments in liballoc and libcore)
- #64302 (Shrink `ObligationCauseCode`)
- #64372 (use randSecure and randABytes)
- #64374 (Box `DiagnosticBuilder`.)
- #64375 (Fast path for vec.clear/truncate )
- #64378 (Fix inconsistent link formatting.)
- #64384 (Trim rustc-workspace-hack)
- #64393 ( declare EnvKey before use to fix build error)
- #64420 (Inline `mark_neighbours_as_waiting_from`.)
- #64422 (Remove raw string literal quotes from error index descriptions)
- #64423 (Add self to .mailmap)
- #64425 (typo fix)
- #64431 (fn ptr is structural match)
- #64435 (codegen: use "_N" (like for other locals) instead of "argN", for argument names.)
- #64439 (fix#64430, confusing `owned_box` error message in no_std build)
Failed merges:
r? @ghost
@bors
bors merged commit bd25507 into rust-lang:masterSep 14, 2019
@ollie27
ollie27 deleted the error_index_generator_stringify branch September 15, 2019 07:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants

@ollie27@bors@Mark-Simulacrum@rust-highfive