mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
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:
parent
22a947f3aa
commit
0e8fb93249
@ -64,8 +64,8 @@
|
|||||||
#![needs_allocator]
|
#![needs_allocator]
|
||||||
|
|
||||||
#![warn(deprecated_in_future)]
|
#![warn(deprecated_in_future)]
|
||||||
#![deny(intra_doc_link_resolution_failure)]
|
#![warn(intra_doc_link_resolution_failure)]
|
||||||
#![deny(missing_debug_implementations)]
|
#![warn(missing_debug_implementations)]
|
||||||
|
|
||||||
#![cfg_attr(not(test), feature(fn_traits))]
|
#![cfg_attr(not(test), feature(fn_traits))]
|
||||||
#![cfg_attr(not(test), feature(generator_trait))]
|
#![cfg_attr(not(test), feature(generator_trait))]
|
||||||
|
@ -61,9 +61,9 @@
|
|||||||
#![no_core]
|
#![no_core]
|
||||||
|
|
||||||
#![warn(deprecated_in_future)]
|
#![warn(deprecated_in_future)]
|
||||||
#![deny(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
#![deny(intra_doc_link_resolution_failure)]
|
#![warn(intra_doc_link_resolution_failure)]
|
||||||
#![deny(missing_debug_implementations)]
|
#![warn(missing_debug_implementations)]
|
||||||
|
|
||||||
#![feature(allow_internal_unstable)]
|
#![feature(allow_internal_unstable)]
|
||||||
#![feature(arbitrary_self_types)]
|
#![feature(arbitrary_self_types)]
|
||||||
|
Loading…
Reference in New Issue
Block a user