Remove some imports to the rustc crate
- When we have `NestedVisitorMap::None`, we use `type Map = dyn intravisit::Map<'v>;` instead of the actual map. This doesn't actually result in dynamic dispatch (in the future we may want to use an associated type default to simplify the code).
- Use `rustc_session::` imports instead of `rustc::{session, lint}`.
r? @Zoxc
|
||
|---|---|---|
| .. | ||
| symbol_names | ||
| Cargo.toml | ||
| codegen_backend.rs | ||
| lib.rs | ||
| link.rs | ||
| symbol_names.rs | ||
| symbol_names_test.rs | ||