Remove unused item_generics_num_lifetimes.

This commit is contained in:
Camille GILLOT 2022-06-15 19:19:53 +02:00
parent 34e4d72929
commit 52f22c7d01
2 changed files with 0 additions and 3 deletions

View File

@ -160,7 +160,6 @@ pub struct ResolverOutputs {
/// exist under `std`. For example, wrote `str::from_utf8` instead of `std::str::from_utf8`.
pub confused_type_with_std_module: FxHashMap<Span, Span>,
pub registered_tools: RegisteredTools,
pub item_generics_num_lifetimes: FxHashMap<LocalDefId, usize>,
pub legacy_const_generic_args: FxHashMap<DefId, Option<Vec<usize>>>,

View File

@ -1429,7 +1429,6 @@ impl<'a> Resolver<'a> {
proc_macros,
confused_type_with_std_module,
registered_tools: self.registered_tools,
item_generics_num_lifetimes: self.item_generics_num_lifetimes,
legacy_const_generic_args: self.legacy_const_generic_args,
partial_res_map: self.partial_res_map,
import_res_map: self.import_res_map,
@ -1470,7 +1469,6 @@ impl<'a> Resolver<'a> {
confused_type_with_std_module: self.confused_type_with_std_module.clone(),
registered_tools: self.registered_tools.clone(),
access_levels: self.access_levels.clone(),
item_generics_num_lifetimes: self.item_generics_num_lifetimes.clone(),
legacy_const_generic_args: self.legacy_const_generic_args.clone(),
partial_res_map: self.partial_res_map.clone(),
import_res_map: self.import_res_map.clone(),