Rollup merge of #99888 - nnethercote:streamline-visitors, r=cjgillot
Streamline lint checking The early (AST) and late (HIR) lint checkers have a number of functions that aren't used by rustc or clippy. Might as well remove them -- it's not like there's a canonical API here, as shown by the ad hoc use of `check_foo`/`check_foo_post` combinations. r? `@cjgillot`
This commit is contained in:
commit
5c3b6d6882
6 changed files with 6 additions and 88 deletions
|
@ -75,7 +75,7 @@ use rustc_middle::ty::TyCtxt;
|
|||
use rustc_session::lint::builtin::{
|
||||
BARE_TRAIT_OBJECTS, ELIDED_LIFETIMES_IN_PATHS, EXPLICIT_OUTLIVES_REQUIREMENTS,
|
||||
};
|
||||
use rustc_span::symbol::{Ident, Symbol};
|
||||
use rustc_span::symbol::Ident;
|
||||
use rustc_span::Span;
|
||||
|
||||
use array_into_iter::ArrayIntoIter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue