rust/compiler/rustc_resolve/src
Dylan DPC a736acc804
Rollup merge of #97312 - cjgillot:no-path-in-scope, r=compiler-errors
Compute lifetimes in scope at diagnostic time

The set of available lifetimes is currently computed during lifetime resolution on HIR.  It is only used for one diagnostic.

In this PR, HIR lifetime resolution just reports whether elided lifetimes are well-defined at the place of use.  The diagnostic code is responsible for building a list of lifetime names if elision is not allowed.

This will allow to remove lifetime resolution on HIR eventually.
2022-06-06 14:34:55 +02:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Rollup merge of #97312 - cjgillot:no-path-in-scope, r=compiler-errors 2022-06-06 14:34:55 +02:00
access_levels.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
build_reduced_graph.rs Merge crate and restricted visibilities 2022-05-21 17:02:55 -04:00
check_unused.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
def_collector.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
diagnostics.rs Rollup merge of #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve-use-crate, r=estebank 2022-06-01 17:11:05 +02:00
ident.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
imports.rs Rollup merge of #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve-use-crate, r=estebank 2022-06-01 17:11:05 +02:00
late.rs Rename visit_generic_param{_slice => s} 2022-06-05 13:12:31 +04:00
lib.rs Iterate over maybe_unused_trait_imports when checking dead trait imports 2022-06-04 12:38:55 -07:00
macros.rs Conservatively report "not sure" in cfg_accessible 2022-06-03 11:31:11 +02:00