rust/compiler/rustc_resolve/src
Ashley Mannix b4defec768
Rollup merge of #81105 - LingMan:init_directly, r=nagisa
Initialize a few variables directly

Currently they are declared as `mut`, get initialized to a default value, and
then possibly overwritten.

By initializing to the final value directly, they don't need to be `mut` and
it's clear that they don't get mutated elsewhere later on.
2021-01-18 21:53:28 +10:00
..
late Rollup merge of #81105 - LingMan:init_directly, r=nagisa 2021-01-18 21:53:28 +10:00
build_reduced_graph.rs resolve: Simplify collection of traits in scope 2021-01-11 23:49:47 +03:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs resolve/expand: Improve attribute expansion on macro definitions and calls 2021-01-09 18:43:01 +03:00
diagnostics.rs resolve: Reject ambiguity built-in attr vs different built-in attr 2021-01-17 01:48:17 +03:00
imports.rs Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08:00
late.rs Rollup merge of #80765 - petrochenkov:traitsinscope, r=matthewjasper 2021-01-17 12:24:47 +00:00
lib.rs Rollup merge of #80765 - petrochenkov:traitsinscope, r=matthewjasper 2021-01-17 12:24:47 +00:00
macros.rs resolve: Reject ambiguity built-in attr vs different built-in attr 2021-01-17 01:48:17 +03:00