mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
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:
@@ -209,7 +209,7 @@ enum LintSource {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user