mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 10:58:02 +00:00
ItemTree's ItemVisibilities has no identity, so deduplicate
This commit is contained in:
parent
c15fc9a344
commit
13494f4cac
7 changed files with 39 additions and 38 deletions
|
|
@ -7,6 +7,7 @@ mod path;
|
|||
|
||||
use std::mem;
|
||||
|
||||
use base_db::FxIndexSet;
|
||||
use cfg::CfgOptions;
|
||||
use either::Either;
|
||||
use hir_expand::{
|
||||
|
|
@ -66,8 +67,6 @@ use crate::{
|
|||
|
||||
pub use self::path::hir_segment_to_ast_segment;
|
||||
|
||||
type FxIndexSet<K> = indexmap::IndexSet<K, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>;
|
||||
|
||||
pub(super) fn lower_body(
|
||||
db: &dyn DefDatabase,
|
||||
owner: DefWithBodyId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue