diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-10-27 15:37:07 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-10-28 08:54:21 -0700 |
| commit | e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5 (patch) | |
| tree | 8d1fcc64b2219b49b255f92f1d2c4087200d8930 /src/libsyntax/parse | |
| parent | 58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (diff) | |
| download | rust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.tar.gz rust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.zip | |
Update code with new lint names
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index fa6b0c5ad4a..769652bd23b 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -384,14 +384,14 @@ macro_rules! declare_special_idents_and_keywords {( pub mod special_idents { use ast::{Ident, Name}; $( - #[allow(non_uppercase_statics)] + #[allow(non_upper_case_globals)] pub const $si_static: Ident = Ident { name: Name($si_name), ctxt: 0 }; )* } pub mod special_names { use ast::Name; - $( #[allow(non_uppercase_statics)] pub const $si_static: Name = Name($si_name); )* + $( #[allow(non_upper_case_globals)] pub const $si_static: Name = Name($si_name); )* } /** |
