diff options
| author | Ralf Jung <post@ralfj.de> | 2019-01-28 10:49:11 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-01-28 10:49:11 +0100 |
| commit | 0e8fb93249ee63edba83cd7f2f5f1b09819efa15 (patch) | |
| tree | c6c2a56efc656a0a0b3d2e4a991fcb2aebfb936d | |
| parent | 22a947f3aa4b990efa135e3593fe7365bc7c36b9 (diff) | |
| download | rust-0e8fb93249ee63edba83cd7f2f5f1b09819efa15.tar.gz rust-0e8fb93249ee63edba83cd7f2f5f1b09819efa15.zip | |
Use warn() for extra diagnostics; with -D warnings this leads to errors
This is needed to properly respect "deny_warnings = false" in config.toml
| -rw-r--r-- | src/liballoc/lib.rs | 4 | ||||
| -rw-r--r-- | src/libcore/lib.rs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index cf9d89ee05a..d2ff1bae635 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -64,8 +64,8 @@ #![needs_allocator] #![warn(deprecated_in_future)] -#![deny(intra_doc_link_resolution_failure)] -#![deny(missing_debug_implementations)] +#![warn(intra_doc_link_resolution_failure)] +#![warn(missing_debug_implementations)] #![cfg_attr(not(test), feature(fn_traits))] #![cfg_attr(not(test), feature(generator_trait))] diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 1295acb44a5..1ef21832592 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -61,9 +61,9 @@ #![no_core] #![warn(deprecated_in_future)] -#![deny(missing_docs)] -#![deny(intra_doc_link_resolution_failure)] -#![deny(missing_debug_implementations)] +#![warn(missing_docs)] +#![warn(intra_doc_link_resolution_failure)] +#![warn(missing_debug_implementations)] #![feature(allow_internal_unstable)] #![feature(arbitrary_self_types)] |
