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

Show line count and max lines in too_many_lines lint message #6009

Conversation

Ryan1729
Copy link
Contributor

@Ryan1729 Ryan1729 commented Sep 5, 2020

This PR adds the current amount of lines and the current maximum number of lines in the message for the too_many_lines lint, in a similar way as the too_many_arguments lint currently does.

changelog: show the line count and the maximum lines in the message for the too_many_lines lint.

@rust-highfive
Copy link

r? @phansch

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 5, 2020
```
./tests/ui-toml/update-references.sh './target/debug/test_build_base' 'functions_maxlines/test.rs'
```
@phansch
Copy link
Member

phansch commented Sep 5, 2020

Very nice, thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Sep 5, 2020

📌 Commit 9e7ce9d has been approved by phansch

@bors
Copy link
Contributor

bors commented Sep 5, 2020

⌛ Testing commit 9e7ce9d with merge 3cecdc9...

@bors
Copy link
Contributor

bors commented Sep 5, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: phansch
Pushing 3cecdc9 to master...

@bors bors merged commit 3cecdc9 into rust-lang:master Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants