Move lint expectation checking into a separate query (RFC 2383)
This commit is contained in:
@@ -109,6 +109,7 @@ pub use rustc_session::lint::{LintArray, LintPass};
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
levels::provide(providers);
|
||||
expect::provide(providers);
|
||||
*providers = Providers { lint_mod, ..*providers };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user