]> git.lizzy.rs Git - rust.git/commitdiff
Deny internal lints on non conflicting crates
authorflip1995 <hello@philkrones.com>
Sun, 31 Mar 2019 21:18:22 +0000 (23:18 +0200)
committerflip1995 <hello@philkrones.com>
Wed, 3 Apr 2019 16:24:21 +0000 (18:24 +0200)
- libarena
- librustc_allocator
- librustc_borrowck
- librustc_codegen_ssa
- librustc_codegen_utils
- librustc_driver
- librustc_errors
- librustc_incremental
- librustc_metadata
- librustc_passes
- librustc_privacy
- librustc_resolve
- librustc_save_analysis
- librustc_target
- librustc_traits
- libsyntax
- libsyntax_ext
- libsyntax_pos

18 files changed:
src/libarena/lib.rs
src/librustc_allocator/lib.rs
src/librustc_borrowck/lib.rs
src/librustc_codegen_ssa/lib.rs
src/librustc_codegen_utils/lib.rs
src/librustc_driver/lib.rs
src/librustc_errors/lib.rs
src/librustc_incremental/lib.rs
src/librustc_metadata/lib.rs
src/librustc_passes/lib.rs
src/librustc_privacy/lib.rs
src/librustc_resolve/lib.rs
src/librustc_save_analysis/lib.rs
src/librustc_target/lib.rs
src/librustc_traits/lib.rs
src/libsyntax/lib.rs
src/libsyntax_ext/lib.rs
src/libsyntax_pos/lib.rs

index 0a5b79c36aad86c1326f4959414a1bade713a24e..6fa15884f5abb12139a3e321655938b90584670d 100644 (file)
@@ -12,6 +12,7 @@
        test(no_crate_inject, attr(deny(warnings))))]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(alloc)]
 #![feature(core_intrinsics)]
index 9d6e728e13557556735ab1ac8bb5b3a50511efee..a9e422fb238b8ef3b173928745a0062cd1754379 100644 (file)
@@ -2,6 +2,7 @@
 #![feature(rustc_private)]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 pub mod expand;
 
index cf4669db87e5e9e4450793494a02ad5ef8c7bd5e..3761a52bcccf2d8da1c4a2edfbcabf3e8b2de739 100644 (file)
@@ -2,6 +2,7 @@
 
 #![allow(non_camel_case_types)]
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(nll)]
 
index 1e898ced7a6006aa85fcd27ac7538e51cd1e7133..e2917578c0ece4c3c098113fd1601ffa5d1f418c 100644 (file)
@@ -14,6 +14,7 @@
 #![allow(unused_attributes)]
 #![allow(dead_code)]
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 #![allow(explicit_outlives_requirements)]
 
 #![recursion_limit="256"]
index 1a3914e6ef44cc8f04784eafbf21d8c52db2b640..330cfe154e302814e9034e6e354cfc6314f6ea93 100644 (file)
@@ -16,6 +16,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[macro_use]
 extern crate rustc;
index 4b7cffaad5509711e6abea758d79171fe47ac9f4..2781bfa3ec8495a8324836e96404a8639df8f86d 100644 (file)
@@ -17,6 +17,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 pub extern crate getopts;
 #[cfg(unix)]
index ebbc5a3d3a340a30c139b2ff4a5a2cb9defffcb9..71bef54cd17a12c30ce796f1e14e241d97f8b0e6 100644 (file)
@@ -6,6 +6,7 @@
 #![feature(nll)]
 #![feature(optin_builtin_traits)]
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[allow(unused_extern_crates)]
 extern crate serialize as rustc_serialize; // used by deriving
index fe75bbc36c3b1eea28fdf0cd7d93ff8c9bea65c9..d7db324f3463efa9b723295a2c9c7ae8c0477baf 100644 (file)
@@ -8,6 +8,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[macro_use] extern crate rustc;
 #[allow(unused_extern_crates)]
index 14416b5ce075950573f843416fe02e6c99f2d20a..4078171733fc3fd5862ae3028743f835734cee33 100644 (file)
@@ -14,6 +14,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 extern crate libc;
 #[allow(unused_extern_crates)]
index ff2e345d08401a5132059b8c45c5401d7d2d2b6c..20442a4a566ece72d545793798884de7118bf043 100644 (file)
@@ -12,6 +12,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[macro_use]
 extern crate rustc;
index 030883c0159fbe5368f3c2d43a45a35bb19bbb07..9a8970b2935e091540478ad025818ec5ec88e50e 100644 (file)
@@ -1,6 +1,7 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(nll)]
 #![feature(rustc_diagnostic_macros)]
index 1934f800af7575a8e9886fb809d0753408acd62d..5216156c0cab81d14b0ff2cbdfb40c28edc8cae9 100644 (file)
@@ -8,6 +8,7 @@
 #![recursion_limit="256"]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 pub use rustc::hir::def::{Namespace, PerNS};
 
index 898ea62046d4896b7b2824a2af12b04d175811dd..a363fe114189158816e228e893e9fe07573903c7 100644 (file)
@@ -2,6 +2,7 @@
 #![feature(custom_attribute)]
 #![feature(nll)]
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 #![allow(unused_attributes)]
 
 #![recursion_limit="256"]
index efffb1985728de10a3e263dc153276d61219c224..f1812c20dccde3bab91d7005aa09ef4bb46d5493 100644 (file)
@@ -16,6 +16,7 @@
 #![feature(step_trait)]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #[macro_use] extern crate log;
 
index d52a976981db06037ee2d1be2df6c9ba540c8243..bc034e1fb16278fd6d0836a67ea141c14fbc072f 100644 (file)
@@ -2,6 +2,7 @@
 //! the guts are broken up into modules; see the comments in those modules.
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(crate_visibility_modifier)]
 #![feature(in_band_lifetimes)]
index a6145d5dcb38c6234146c2657111c267dff28918..9905b981395c0d886c7a50691dbaf89a60a670e6 100644 (file)
@@ -8,6 +8,7 @@
        test(attr(deny(warnings))))]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(crate_visibility_modifier)]
 #![feature(label_break_value)]
index aa472eee3cab338541952aacf5baf63415cef65b..ee0b86963f31dcdc9f7da4b3a298b0b82ed6f8e1 100644 (file)
@@ -3,6 +3,7 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(in_band_lifetimes)]
 #![feature(proc_macro_diagnostic)]
index 48d087ee43cd58b73bbb6b85064cad7b0703ae04..db1543ff13f7e3a678bd5564f245815677d8e987 100644 (file)
@@ -7,6 +7,7 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![deny(rust_2018_idioms)]
+#![cfg_attr(not(stage0), deny(internal))]
 
 #![feature(const_fn)]
 #![feature(crate_visibility_modifier)]