rust/compiler/rustc_resolve/src
Yuki Okushi 700f3f23d8
Rollup merge of #80801 - estebank:correct-binding-sugg-span, r=petrochenkov
Use correct span for structured suggestion

On structured suggestion for `let` -> `const`  and `const` -> `let`, use
a proper `Span` and update tests to check the correct application.

Follow up to #80012.
2021-01-10 16:55:59 +09:00
..
late Consistently call editions "Rust 20xx" in messages. 2020-12-31 19:06:09 +01:00
build_reduced_graph.rs resolve/expand: Improve attribute expansion on macro definitions and calls 2021-01-09 18:43:01 +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 Use correct span for structured suggestion 2021-01-07 16:52:44 -08: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 #80012 - sasurau4:feature/point-constant-identifier-E0435, r=petrochenkov 2021-01-08 02:05:58 +09:00
lib.rs Use correct span for structured suggestion 2021-01-07 16:52:44 -08:00
macros.rs Rename to nearest_parent_mod 2021-01-06 12:55:44 -08:00