about summary refs log tree commit diff
path: root/src/libfmt_macros
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2019-04-03 15:53:36 +0200
committerflip1995 <hello@philkrones.com>2019-04-03 19:18:07 +0200
commit076abfa0f30e2365f4dbb6cd941c7761157b644a (patch)
tree24fabd192e5301cd955f335bba40702d7166a71e /src/libfmt_macros
parent51a792d01b3af2c96850d3be9392139a592931dd (diff)
downloadrust-076abfa0f30e2365f4dbb6cd941c7761157b644a.tar.gz
rust-076abfa0f30e2365f4dbb6cd941c7761157b644a.zip
Deny internal lints on two more crates
- libfmt_macros
- librustdoc
Diffstat (limited to 'src/libfmt_macros')
-rw-r--r--src/libfmt_macros/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs
index aacd6cec565..2536121c7a3 100644
--- a/src/libfmt_macros/lib.rs
+++ b/src/libfmt_macros/lib.rs
@@ -9,6 +9,7 @@
        test(attr(deny(warnings))))]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(nll)]
 #![feature(rustc_private)]