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:
parent
66e2857253
commit
23fbe936bf
@ -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",
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user