Implement rustc side of report-future-incompat
This commit is contained in:
parent
ffe52882ed
commit
23018a55d9
22 changed files with 332 additions and 114 deletions
|
@ -275,7 +275,10 @@ pub fn register_plugins<'a>(
|
|||
}
|
||||
});
|
||||
|
||||
Ok((krate, Lrc::new(lint_store)))
|
||||
let lint_store = Lrc::new(lint_store);
|
||||
sess.init_lint_store(lint_store.clone());
|
||||
|
||||
Ok((krate, lint_store))
|
||||
}
|
||||
|
||||
fn pre_expansion_lint(sess: &Session, lint_store: &LintStore, krate: &ast::Crate) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue