diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 10:07:54 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 10:07:54 -0700 |
| commit | dc6bb5e8ef68720650ae37354684a6dee61117bb (patch) | |
| tree | 82ffeac8dd3f68b3bb12c9f0fd0f124d8de8760e /src/libsyntax | |
| parent | aff160bb0343c9d09b93b2deb045ae51d18ade34 (diff) | |
| parent | a67faf1b25f40c3a4ad8545192136ceea8c4e63f (diff) | |
| download | rust-dc6bb5e8ef68720650ae37354684a6dee61117bb.tar.gz rust-dc6bb5e8ef68720650ae37354684a6dee61117bb.zip | |
rollup merge of #23776: nrc/allow_trivial_cast
r? @alexcrichton
Diffstat (limited to 'src/libsyntax')
| -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 5bbcdea879d..2f609d86f39 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -264,7 +264,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)) } |
