rust/src/librustc_passes
Mazdak Farrokhzad 292c538265
Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc
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
2020-03-18 18:03:44 +01:00
..
Cargo.toml Move rustc_infer::traits to new crate rustc_trait_selection. 2020-03-14 14:15:50 +01:00
check_attr.rs More Method->Fn renaming 2020-03-15 19:15:55 -05:00
check_const.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
dead.rs Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
diagnostic_items.rs Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
entry.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
hir_stats.rs Auto merge of #68944 - Zoxc:hir-map, r=eddyb 2020-03-15 20:40:16 +00:00
intrinsicck.rs remove unnecessary hir::map imports 2020-03-16 02:49:19 +01:00
lang_items.rs remove lifetimes that can be elided (clippy::needless_lifetimes) 2020-03-12 20:03:09 +01:00
layout_test.rs Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
lib.rs Move weak_lang_items checking to librustc_passes. 2020-02-11 23:13:03 +01:00
lib_features.rs Index HIR after creating TyCtxt 2020-03-14 22:52:30 +01:00
liveness.rs Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
loops.rs Index HIR after creating TyCtxt 2020-03-14 22:52:30 +01:00
reachable.rs Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
region.rs remove unnecessary hir::map imports 2020-03-16 02:49:19 +01:00
stability.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
upvars.rs remove unnecessary hir::map imports 2020-03-16 02:49:19 +01:00
weak_lang_items.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00