rollup merge of : thiagopnts/rename-deprecated-non_uppercase_statics

This commit is contained in:
Alex Crichton 2014-11-06 13:31:54 -08:00
commit fa530fff51
4 changed files with 5 additions and 5 deletions

@ -34,7 +34,7 @@ preamble = '''// Copyright 2012-2014 The Rust Project Developers. See the COPYRI
// NOTE: The following code was generated by "src/etc/unicode.py", do not edit directly
#![allow(missing_docs, non_uppercase_statics, non_snake_case)]
#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
'''
# Mapping taken from Table 12 from:

@ -12,7 +12,7 @@
#![forbid(non_camel_case_types)]
#![forbid(non_uppercase_statics)]
#![forbid(non_upper_case_globals)]
#![feature(non_ascii_idents)]
// Some scripts (e.g. hiragana) don't have a concept of

@ -10,7 +10,7 @@
#![forbid(non_camel_case_types)]
#![forbid(non_uppercase_statics)]
#![forbid(non_upper_case_globals)]
static mut bar: int = 2;

@ -16,7 +16,7 @@
// around this problem locally by renaming the constant in the `use`
// form to an uppercase identifier that placates the lint.
#![deny(non_uppercase_statics)]
#![deny(non_upper_case_globals)]
pub const A : int = 97;
@ -34,7 +34,7 @@ fn f() {
}
mod m {
#[allow(non_uppercase_statics)]
#[allow(non_upper_case_globals)]
pub const aha : int = 7;
}