diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-03-27 18:41:18 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-03-27 18:41:18 +1300 |
| commit | a67faf1b25f40c3a4ad8545192136ceea8c4e63f (patch) | |
| tree | a8a4c4911ed287f175345042f8f14c3311aed086 /src/libsyntax/ext | |
| parent | 199bdcfeff5cfafd1f8e8ff583d7209272469879 (diff) | |
| download | rust-a67faf1b25f40c3a4ad8545192136ceea8c4e63f.tar.gz rust-a67faf1b25f40c3a4ad8545192136ceea8c4e63f.zip | |
Change the trivial cast lints to allow by default
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/quote.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index a25a6451918..c11ffe66e6c 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -262,7 +262,6 @@ pub mod rt { (unsigned, $t:ty, $tag:expr) => ( impl ToSource for $t { fn to_source(&self) -> String { - #![allow(trivial_numeric_casts)] let lit = ast::LitInt(*self as u64, ast::UnsignedIntLit($tag)); pprust::lit_to_string(&dummy_spanned(lit)) } |
