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

nrc
Copy link
Member

@nrc nrc commented Mar 27, 2015

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

declare_lint! {
pub TRIVIAL_CASTS,
Warn,
Allow,
Copy link
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Member Author

Choose a reason for hiding this comment

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

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

@alexcrichton
Copy link
Member

@bors: r+ a67faf1

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
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.

4 participants