Skip to content

Commit 8ef7ca1

Browse files
committed
make lint levels more consistent
1 parent cdf1d36 commit 8ef7ca1

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/liballoc/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
#![no_std]
5959
#![needs_allocator]
6060

61-
#![deny(rust_2018_idioms)]
62-
#![allow(explicit_outlives_requirements)]
63-
6461
#![warn(deprecated_in_future)]
6562
#![warn(missing_debug_implementations)]
6663
#![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
6764

65+
#![deny(rust_2018_idioms)]
66+
#![allow(explicit_outlives_requirements)]
67+
6868
#![cfg_attr(not(test), feature(generator_trait))]
6969
#![cfg_attr(test, feature(test))]
7070

src/libstd/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,10 @@
205205
// Don't link to std. We are std.
206206
#![no_std]
207207

208-
#![deny(missing_docs)]
209-
#![deny(intra_doc_link_resolution_failure)]
210-
#![deny(missing_debug_implementations)]
208+
//#![warn(deprecated_in_future)] // FIXME: std still has quite a few uses of `mem::uninitialized`
209+
#![warn(missing_docs)]
210+
#![warn(missing_debug_implementations)]
211+
#![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
211212

212213
#![deny(rust_2018_idioms)]
213214
#![allow(explicit_outlives_requirements)]

0 commit comments

Comments
 (0)