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

Normalize lint messages #5000

Merged
merged 5 commits into from
Jan 7, 2020
Merged

Normalize lint messages #5000

merged 5 commits into from
Jan 7, 2020

Conversation

JohnTitor
Copy link
Member

@JohnTitor JohnTitor commented Jan 6, 2020

On rustc diagnostics, we prefer to use backticks over ', ", or something else. I think we should follow their manner here.
In first commit, normalizes lint messages with backticks.
In second commit, updates all stderrs.
In third commit, updates descriptions on lintlist.

changelog: none

clippy_lints/src/attrs.rs Outdated Show resolved Hide resolved
clippy_lints/src/missing_const_for_fn.rs Outdated Show resolved Hide resolved
@flip1995
Copy link
Member

flip1995 commented Jan 6, 2020

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Jan 6, 2020

📌 Commit c20642e has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jan 6, 2020

⌛ Testing commit c20642e with merge e2187c9...

bors added a commit that referenced this pull request Jan 6, 2020
Normalize lint messages

On rustc diagnostics, we prefer to use backticks over `'`,  `"`, or something else. I think we should follow their manner here.
In first commit, normalizes lint messages with backticks.
In second commit, updates all stderrs.
In third commit, updates descriptions on lintlist.

changelog: none
@bors
Copy link
Contributor

bors commented Jan 6, 2020

💔 Test failed - checks-travis

@flip1995 flip1995 added the S-waiting-on-bors Status: The marked PR was approved and is only waiting bors label Jan 6, 2020
@JohnTitor JohnTitor added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties S-waiting-on-bors Status: The marked PR was approved and is only waiting bors and removed S-waiting-on-bors Status: The marked PR was approved and is only waiting bors S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Jan 7, 2020
@bors
Copy link
Contributor

bors commented Jan 7, 2020

☔ The latest upstream changes (presumably #5011) made this pull request unmergeable. Please resolve the merge conflicts.

@JohnTitor
Copy link
Member Author

Okay, rebased.

@phansch
Copy link
Member

phansch commented Jan 7, 2020

@bors r=flip1995

@bors
Copy link
Contributor

bors commented Jan 7, 2020

📌 Commit f7a93f0 has been approved by flip1995

bors added a commit that referenced this pull request Jan 7, 2020
Normalize lint messages

On rustc diagnostics, we prefer to use backticks over `'`,  `"`, or something else. I think we should follow their manner here.
In first commit, normalizes lint messages with backticks.
In second commit, updates all stderrs.
In third commit, updates descriptions on lintlist.

changelog: none
@bors
Copy link
Contributor

bors commented Jan 7, 2020

⌛ Testing commit f7a93f0 with merge f5a0d9d...

@bors
Copy link
Contributor

bors commented Jan 7, 2020

💔 Test failed - checks-travis

@JohnTitor
Copy link
Member Author

Uhm, I should have taken note of 32-bit target, fixed hopefully.

@flip1995
Copy link
Member

flip1995 commented Jan 7, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jan 7, 2020

📌 Commit abc49c3 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jan 7, 2020

⌛ Testing commit abc49c3 with merge c092068...

bors added a commit that referenced this pull request Jan 7, 2020
Normalize lint messages

On rustc diagnostics, we prefer to use backticks over `'`,  `"`, or something else. I think we should follow their manner here.
In first commit, normalizes lint messages with backticks.
In second commit, updates all stderrs.
In third commit, updates descriptions on lintlist.

changelog: none
@bors
Copy link
Contributor

bors commented Jan 7, 2020

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing c092068 to master...

@bors bors merged commit abc49c3 into rust-lang:master Jan 7, 2020
@JohnTitor JohnTitor deleted the backticks branch January 7, 2020 12:40
bors added a commit that referenced this pull request Jan 8, 2020
Normalize lint messages in cast_precision_loss

Follow-up of #5000

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: The marked PR was approved and is only waiting bors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants