We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238994f commit be1e502Copy full SHA for be1e502
compiler/rustc_interface/src/interface.rs
@@ -56,6 +56,9 @@ impl Compiler {
56
pub fn output_file(&self) -> &Option<PathBuf> {
57
&self.output_file
58
}
59
+ pub fn register_lints(&self) -> &Option<Box<dyn Fn(&Session, &mut LintStore) + Send + Sync>> {
60
+ &self.register_lints
61
+ }
62
pub fn build_output_filenames(
63
&self,
64
sess: &Session,
0 commit comments