summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
diff options
context:
space:
mode:
authorP1start <rewi-github@whanau.org>2014-09-13 13:55:37 +1200
committerP1start <rewi-github@whanau.org>2014-10-03 20:39:56 +1300
commit94bcd3539c761b4ecf423800bce21057c4e961fa (patch)
tree51c0030bfc0a527ce57da49f0987f726ea0ed912 /src/libsyntax/print/pprust.rs
parentaa034cd3bac3155e0f6c74c399314b5ee32f88fc (diff)
downloadrust-94bcd3539c761b4ecf423800bce21057c4e961fa.tar.gz
rust-94bcd3539c761b4ecf423800bce21057c4e961fa.zip
Set the `non_uppercase_statics` lint to warn by default
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
-rw-r--r--src/libsyntax/print/pprust.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index 8400d9aea3b..c3a3848019a 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -89,8 +89,10 @@ pub fn rust_printer_annotated<'a>(writer: Box<io::Writer+'static>,
     }
 }
 
+#[allow(non_uppercase_statics)]
 pub static indent_unit: uint = 4u;
 
+#[allow(non_uppercase_statics)]
 pub static default_columns: uint = 78u;
 
 /// Requires you to pass an input filename and reader so that