diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 73a51ad477b..11dd6ec32c0 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -56,6 +56,9 @@ pub fn output_dir(&self) -> &Option { pub fn output_file(&self) -> &Option { &self.output_file } + pub fn register_lints(&self) -> &Option> { + &self.register_lints + } pub fn build_output_filenames( &self, sess: &Session,