Skip to content

Commit e1089fe

Browse files
committed
Switched both non_camel_case_type and non_uppercase_constants lints to warn
Updated copyright
1 parent 88dd987 commit e1089fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc/middle/lint.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -184,14 +184,14 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
184184
LintSpec {
185185
lint: NonCamelCaseTypes,
186186
desc: "types, variants and traits should have camel case names",
187-
default: allow
187+
default: warn
188188
}),
189189

190190
("non_uppercase_statics",
191191
LintSpec {
192192
lint: NonUppercaseStatics,
193193
desc: "static constants should have uppercase identifiers",
194-
default: allow
194+
default: warn
195195
}),
196196

197197
("non_uppercase_pattern_statics",

0 commit comments

Comments
 (0)