diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-04 01:49:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-04 01:49:07 +0200 |
| commit | dcccab56bab29439fd154fd8114a3679a1ed5b3d (patch) | |
| tree | 31d875aafe5d3e9f8bfa862032feb9fa539cbc95 /src/librustc_errors | |
| parent | f8673e0ad85e98997faa76fa7edc99c5825f46ee (diff) | |
| parent | c81ce069b4ea7586d3c15df4a45fd43159e1a0fa (diff) | |
Rollup merge of #59316 - flip1995:internal_lints_take_2, r=oli-obk
Internal lints take 2 cc #58701 cc #49509 TODO: Add `#![warn(internal)]` to crates (and fix violations) Crates depending on `rustc_data_structures` - [x] librustc_resolve - [x] librustc_driver - [x] librustc_passes - [x] librustc_metadata - [x] librustc_interface - [x] librustc_save_analysis - [x] librustc_lint - [x] librustc - [x] librustc_incremental - [x] librustc_codegen_utils - [x] libarena - [x] librustc_target - [x] librustc_allocator - [x] librustc_privacy - [x] librustc_traits - [x] librustc_borrowck - [x] libsyntax - [x] librustc_codegen_ssa - [x] libsyntax_ext - [x] librustc_errors - [x] librustc_mir - [x] libsyntax_pos - [x] librustc_typeck Crates with `feature(rustc_private)` Excluding crates, which are already in the list above. Also excluding tools and tests. - [ ] ~~libstd~~ - [x] libfmt_macros - [x] librustdoc r? @oli-obk
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index ebbc5a3d3a3..71bef54cd17 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -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 |
