diff options
| author | bors <bors@rust-lang.org> | 2013-07-03 04:31:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-03 04:31:50 -0700 |
| commit | 55f155521d2f604794d2ab1de2a8d439440af4a8 (patch) | |
| tree | 69ef091fd4237ad3109b7e05e99421b97a576b0f /src/libextra/terminfo/parser | |
| parent | 6caaa34dedc45543e4d2c7600f952e042d9258df (diff) | |
| parent | c437a16c5d8c00b39dc6c5e36011def997d77224 (diff) | |
auto merge of #7523 : huonw/rust/uppercase-statics-lint, r=cmr
Adds a lint for `static some_lowercase_name: uint = 1;`. Warning by default since it causes confusion, e.g. `static a: uint = 1; ... let a = 2;` => `error: only refutable patterns allowed here`.
Diffstat (limited to 'src/libextra/terminfo/parser')
| -rw-r--r-- | src/libextra/terminfo/parser/compiled.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libextra/terminfo/parser/compiled.rs b/src/libextra/terminfo/parser/compiled.rs index 063d26d1424..e16297e3871 100644 --- a/src/libextra/terminfo/parser/compiled.rs +++ b/src/libextra/terminfo/parser/compiled.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[allow(non_uppercase_statics)]; + /// ncurses-compatible compiled terminfo format parsing (term(5)) |
