@@ -110,10 +110,10 @@ pub enum DelimToken {
110110}
111111
112112#[ cfg( stage0) ]
113- #[ allow( non_uppercase_statics ) ]
113+ #[ allow( non_upper_case_globals ) ]
114114pub const ModName : bool = true ;
115115#[ cfg( stage0) ]
116- #[ allow( non_uppercase_statics ) ]
116+ #[ allow( non_upper_case_globals ) ]
117117pub const Plain : bool = false ;
118118
119119#[ deriving( Clone , Encodable , Decodable , PartialEq , Eq , Hash , Show ) ]
@@ -263,7 +263,7 @@ impl Token {
263263
264264 /// Returns `true` if the token is a path that is not followed by a `::`
265265 /// token.
266- #[ allow( non_uppercase_statics ) ] // NOTE(stage0): remove this attribute after the next snapshot
266+ #[ allow( non_upper_case_globals ) ]
267267 pub fn is_plain_ident ( & self ) -> bool {
268268 match * self {
269269 Ident ( _, Plain ) => true ,
@@ -311,7 +311,7 @@ impl Token {
311311 }
312312
313313 /// Returns `true` if the token is a given keyword, `kw`.
314- #[ allow( non_uppercase_statics ) ] // NOTE(stage0): remove this attribute after the next snapshot
314+ #[ allow( non_upper_case_globals ) ]
315315 pub fn is_keyword ( & self , kw : keywords:: Keyword ) -> bool {
316316 match * self {
317317 Ident ( sid, Plain ) => kw. to_name ( ) == sid. name ,
@@ -321,7 +321,7 @@ impl Token {
321321
322322 /// Returns `true` if the token is either a special identifier, or a strict
323323 /// or reserved keyword.
324- #[ allow( non_uppercase_statics ) ] // NOTE(stage0): remove this attribute after the next snapshot
324+ #[ allow( non_upper_case_globals ) ]
325325 pub fn is_any_keyword ( & self ) -> bool {
326326 match * self {
327327 Ident ( sid, Plain ) => {
@@ -338,7 +338,7 @@ impl Token {
338338 }
339339
340340 /// Returns `true` if the token may not appear as an identifier.
341- #[ allow( non_uppercase_statics ) ] // NOTE(stage0): remove this attribute after the next snapshot
341+ #[ allow( non_upper_case_globals ) ]
342342 pub fn is_strict_keyword ( & self ) -> bool {
343343 match * self {
344344 Ident ( sid, Plain ) => {
@@ -364,7 +364,7 @@ impl Token {
364364
365365 /// Returns `true` if the token is a keyword that has been reserved for
366366 /// possible future use.
367- #[ allow( non_uppercase_statics ) ] // NOTE(stage0): remove this attribute after the next snapshot
367+ #[ allow( non_upper_case_globals ) ]
368368 pub fn is_reserved_keyword ( & self ) -> bool {
369369 match * self {
370370 Ident ( sid, Plain ) => {
0 commit comments