about summary refs log tree commit diff
path: root/compiler/rustc_driver/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-11-25 14:42:43 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-12-02 13:59:28 +1100
commit67cfe2cfbb3cdd6d34dd3fbfd3037a60d01fa154 (patch)
treec1d8acd9986ddbc51c58133703dcca07132aeca0 /compiler/rustc_driver/src/lib.rs
parent33faf0169009edc978af31098710a44070da4657 (diff)
downloadrust-67cfe2cfbb3cdd6d34dd3fbfd3037a60d01fa154.tar.gz
rust-67cfe2cfbb3cdd6d34dd3fbfd3037a60d01fa154.zip
Remove `-Zno-interleave-lints`.
Because it complicates lint implementation greatly.
Diffstat (limited to 'compiler/rustc_driver/src/lib.rs')
-rw-r--r--compiler/rustc_driver/src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs
index 380fbd732d5..22f87514dd8 100644
--- a/compiler/rustc_driver/src/lib.rs
+++ b/compiler/rustc_driver/src/lib.rs
@@ -245,10 +245,8 @@ fn run_compiler(
                 interface::run_compiler(config, |compiler| {
                     let sopts = &compiler.session().opts;
                     if sopts.describe_lints {
-                        let mut lint_store = rustc_lint::new_lint_store(
-                            sopts.unstable_opts.no_interleave_lints,
-                            compiler.session().enable_internal_lints(),
-                        );
+                        let mut lint_store =
+                            rustc_lint::new_lint_store(compiler.session().enable_internal_lints());
                         let registered_lints =
                             if let Some(register_lints) = compiler.register_lints() {
                                 register_lints(compiler.session(), &mut lint_store);