Allow non-uppercase-statics by default

I think of this as a stylistic opinion which shouldn't necessarily be enforced
by default on all users of rust, but that's just my opinion.
This commit is contained in:
Alex Crichton 2013-07-12 10:35:18 -07:00
parent 66e2857253
commit 23fbe936bf
3 changed files with 1 additions and 5 deletions

View File

@ -209,7 +209,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
LintSpec {
lint: non_uppercase_statics,
desc: "static constants should have uppercase identifiers",
default: warn
default: allow
}),
("managed_heap_memory",

View File

@ -18,8 +18,6 @@
#[crate_type = "lib"];
#[allow(non_implicitly_copyable_typarams)];
#[allow(non_camel_case_types)];
#[allow(non_uppercase_statics)];
#[deny(deprecated_pattern)];
extern mod extra;

View File

@ -20,8 +20,6 @@
#[license = "MIT/ASL2"];
#[crate_type = "lib"];
#[allow(non_camel_case_types)];
#[allow(non_uppercase_statics)];
#[deny(deprecated_pattern)];
extern mod extra;