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

Change the trivial cast lints to allow by default #23776

Merged
merged 1 commit into from Mar 28, 2015

Conversation

Projects
None yet
4 participants
@nrc
Copy link
Member

nrc commented Mar 27, 2015

@@ -102,13 +102,13 @@ declare_lint! {

declare_lint! {
pub TRIVIAL_CASTS,
Warn,
Allow,

This comment has been minimized.

@petrochenkov

petrochenkov Mar 27, 2015

Contributor

Should this stay "Warn"? People asked only for allowing numeric casts.

This comment has been minimized.

@nrc

nrc Mar 27, 2015

Author Member

We decided we would make the trivial cast lint Allow too until type ascription lands.

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Mar 27, 2015

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Mar 27, 2015

@bors bors merged commit a67faf1 into rust-lang:master Mar 28, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.