about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-01-28 10:49:11 +0100
committerRalf Jung <post@ralfj.de>2019-01-28 10:49:11 +0100
commit0e8fb93249ee63edba83cd7f2f5f1b09819efa15 (patch)
treec6c2a56efc656a0a0b3d2e4a991fcb2aebfb936d /src/liballoc
parent22a947f3aa4b990efa135e3593fe7365bc7c36b9 (diff)
downloadrust-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
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs4
1 files changed, 2 insertions, 2 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))]