]> git.lizzy.rs Git - rust.git/commitdiff
Deny internal lints on two more crates
authorflip1995 <hello@philkrones.com>
Wed, 3 Apr 2019 13:53:36 +0000 (15:53 +0200)
committerflip1995 <hello@philkrones.com>
Wed, 3 Apr 2019 17:18:07 +0000 (19:18 +0200)
- libfmt_macros
- librustdoc

src/libfmt_macros/lib.rs
src/librustdoc/lib.rs

index aacd6cec565a5a971576f7ae79cf00e273387f67..2536121c7a3247da618679eeea97c298e361de9a 100644 (file)
@@ -9,6 +9,7 @@
        test(attr(deny(warnings))))]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(nll)]
 #![feature(rustc_private)]
index 2ebb465d53dbe6cfee84e0700bbef08b2a61a49f..6cb937d9216ac857b3773c2a27ea1ea9457dea1d 100644 (file)
@@ -1,4 +1,5 @@
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
        html_playground_url = "https://play.rust-lang.org/")]