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

Add large_stack_arrays lint #4807

Merged
merged 1 commit into from
Nov 23, 2019
Merged

Conversation

basil-cow
Copy link
Contributor

@basil-cow basil-cow commented Nov 12, 2019

I would like some feedback for the easy version before doing the more hard one, tracking issue: #4520

changelog: Add new lint [large_stack_arrays]

Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

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

LGTM now. I would merge this as is and do the hard part in a new PR. Please squash some commits first, though.

@basil-cow
Copy link
Contributor Author

Did I do it right?

@flip1995
Copy link
Member

Kind of. It is squashed, but you should adapt the commit message. You can do this with git commit --amend, which should open your favorite editor, where you can write a new commit message. "Add new lint large_stack_array" should be sufficient as a commit message :)

added documentation

minor style fix

change as to ::from

add ignore to doc

include threshold in lint message/make suggestion more apparent/use Scalar api instead of matching

style fix

shange snippet_opt to snippet
@basil-cow basil-cow changed the title [WIP] Add large_stack_arrays lint Add large_stack_arrays lint Nov 19, 2019
bors added a commit that referenced this pull request Nov 23, 2019
Rollup of 4 Pull requests with new lints

Rollup of pull requests

- #4816 (New lint: zst_offset)
- #4814 (New lint: Implement ifs_same_cond_fn)
- #4807 (Add `large_stack_arrays` lint)
- #4806 (Issue/4623)

changelog: add [`zst_offset`] lint
changelog: New lint: [`ifs_same_cond_fn`]
cahngelog: Add new lint [large_stack_arrays]
changelog: added lint [`tabs_in_doc_comments`]
@bors bors merged commit 7fddac0 into rust-lang:master Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants