diff options
| author | mr.Shu <mr@shu.io> | 2014-02-10 15:36:31 +0100 |
|---|---|---|
| committer | mr.Shu <mr@shu.io> | 2014-02-21 08:11:52 +0100 |
| commit | 70319f7b25e53d886cf15a33d2edb5220b1f736b (patch) | |
| tree | fb1c802cf0dda90bf3895bf84ff14cf4af5da8d5 /src/test | |
| parent | d70f909fa3bdc1c8231f127882cc30f274b263d1 (diff) | |
| download | rust-70319f7b25e53d886cf15a33d2edb5220b1f736b.tar.gz rust-70319f7b25e53d886cf15a33d2edb5220b1f736b.zip | |
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
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/lint-dead-code-1.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/lint-dead-code-3.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/lint-unused-import-tricky-names.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/lint-dead-code-1.rs b/src/test/compile-fail/lint-dead-code-1.rs index 8a9397b0227..b6965a003e0 100644 --- a/src/test/compile-fail/lint-dead-code-1.rs +++ b/src/test/compile-fail/lint-dead-code-1.rs @@ -10,6 +10,7 @@ #[no_std]; #[allow(unused_variable)]; +#[allow(non_camel_case_types)]; #[deny(dead_code)]; #[crate_type="lib"]; diff --git a/src/test/compile-fail/lint-dead-code-3.rs b/src/test/compile-fail/lint-dead-code-3.rs index 26e4093caab..e07fc96a1f3 100644 --- a/src/test/compile-fail/lint-dead-code-3.rs +++ b/src/test/compile-fail/lint-dead-code-3.rs @@ -9,6 +9,7 @@ // except according to those terms. #[allow(unused_variable)]; +#[allow(non_camel_case_types)]; #[deny(dead_code)]; #[crate_type="lib"]; diff --git a/src/test/compile-fail/lint-unused-import-tricky-names.rs b/src/test/compile-fail/lint-unused-import-tricky-names.rs index 24511296a0b..0dc1091dabd 100644 --- a/src/test/compile-fail/lint-unused-import-tricky-names.rs +++ b/src/test/compile-fail/lint-unused-import-tricky-names.rs @@ -9,6 +9,7 @@ // except according to those terms. #[deny(unused_imports)]; +#[allow(non_camel_case_types)]; #[allow(dead_code)]; // Regression test for issue #6633 |
