From 70319f7b25e53d886cf15a33d2edb5220b1f736b Mon Sep 17 00:00:00 2001 From: "mr.Shu" Date: Mon, 10 Feb 2014 15:36:31 +0100 Subject: Changed NonCamelCaseTypes lint to warn by default Added allow(non_camel_case_types) to librustc where necesary Tried to fix problems with non_camel_case_types outside rustc fixed failing tests Docs updated Moved #[allow(non_camel_case_types)] a level higher. markdown.rs reverted Fixed timer that was failing tests Fixed another timer --- src/librustc/metadata/creader.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/librustc/metadata/creader.rs') diff --git a/src/librustc/metadata/creader.rs b/src/librustc/metadata/creader.rs index df250937a57..d361ee56936 100644 --- a/src/librustc/metadata/creader.rs +++ b/src/librustc/metadata/creader.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[allow(non_camel_case_types)]; + //! Validates all used crates and extern libraries and loads their metadata use driver::{driver, session}; -- cgit 1.4.1-3-g733a5