1
Fork 0

Handle rustc-hir-analysis cases of rustc::potential_query_instability lint

This commit is contained in:
ismailarilik 2024-10-02 08:25:55 +03:00
parent 1d71891c6b
commit 807e812077
8 changed files with 33 additions and 34 deletions

View file

@ -1188,7 +1188,7 @@ pub struct Resolver<'ra, 'tcx> {
/// A list of proc macro LocalDefIds, written out in the order in which
/// they are declared in the static array generated by proc_macro_harness.
proc_macros: Vec<NodeId>,
confused_type_with_std_module: FxHashMap<Span, Span>,
confused_type_with_std_module: FxIndexMap<Span, Span>,
/// Whether lifetime elision was successful.
lifetime_elision_allowed: FxHashSet<NodeId>,