rollup merge of #18398 : aturon/lint-conventions-2
Conflicts: src/libcollections/slice.rs src/libcore/failure.rs src/libsyntax/parse/token.rs src/test/debuginfo/basic-types-mut-globals.rs src/test/debuginfo/simple-struct.rs src/test/debuginfo/trait-pointers.rs
This commit is contained in:
commit
00975e041d
179 changed files with 285 additions and 271 deletions
|
@ -469,7 +469,7 @@ macro_rules! declare_special_idents_and_keywords {(
|
|||
pub mod special_idents {
|
||||
use ast;
|
||||
$(
|
||||
#[allow(non_uppercase_statics)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const $si_static: ast::Ident = ast::Ident {
|
||||
name: ast::Name($si_name),
|
||||
ctxt: 0,
|
||||
|
@ -480,7 +480,7 @@ macro_rules! declare_special_idents_and_keywords {(
|
|||
pub mod special_names {
|
||||
use ast;
|
||||
$(
|
||||
#[allow(non_uppercase_statics)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const $si_static: ast::Name = ast::Name($si_name);
|
||||
)*
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue