From a67faf1b25f40c3a4ad8545192136ceea8c4e63f Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 27 Mar 2015 18:41:18 +1300 Subject: Change the trivial cast lints to allow by default --- src/libsyntax/ext/quote.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libsyntax/ext') 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)) } -- cgit 1.4.1-3-g733a5