Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9b0b5b4

Browse files
committedDec 30, 2016
Remove not(stage0) from deny(warnings)
Historically this was done to accommodate bugs in lints, but there hasn't been a bug in a lint since this feature was added which the warnings affected. Let's completely purge warnings from all our stages by denying warnings in all stages. This will also assist in tracking down `stage0` code to be removed whenever we're updating the bootstrap compiler.
1 parent 4ecc85b commit 9b0b5b4

File tree

47 files changed

+47
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+47
-47
lines changed
 

‎src/liballoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
7171
#![no_std]
7272
#![needs_allocator]
73-
#![cfg_attr(not(stage0), deny(warnings))]
73+
#![deny(warnings)]
7474

7575
#![feature(allocator)]
7676
#![feature(box_syntax)]

‎src/liballoc_jemalloc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
reason = "this library is unlikely to be stabilized in its current \
1717
form or name",
1818
issue = "27783")]
19-
#![cfg_attr(not(stage0), deny(warnings))]
19+
#![deny(warnings)]
2020
#![feature(allocator)]
2121
#![feature(libc)]
2222
#![feature(staged_api)]

0 commit comments

Comments
 (0)
Please sign in to comment.