Skip to content

Commit 076abfa

Browse files
committed
Deny internal lints on two more crates
- libfmt_macros - librustdoc
1 parent 51a792d commit 076abfa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libfmt_macros/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
test(attr(deny(warnings))))]
1010

1111
#![deny(rust_2018_idioms)]
12+
#![cfg_attr(not(stage0), deny(internal))]
1213

1314
#![feature(nll)]
1415
#![feature(rustc_private)]

src/librustdoc/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![deny(rust_2018_idioms)]
2+
#![cfg_attr(not(stage0), deny(internal))]
23

34
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
45
html_playground_url = "https://play.rust-lang.org/")]

0 commit comments

Comments
 (0)