Use warn() for extra diagnostics; with -D warnings this leads to errors

This is needed to properly respect "deny_warnings = false" in config.toml
This commit is contained in:
Ralf Jung 2019-01-28 10:49:11 +01:00
parent 22a947f3aa
commit 0e8fb93249
2 changed files with 5 additions and 5 deletions

View File

@ -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))]

View File

@ -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)]