mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Intern ModPath within RawVisibility
This commit is contained in:
parent
5548aecdca
commit
e052b3e9a6
4 changed files with 31 additions and 20 deletions
|
@ -323,7 +323,7 @@ impl TraitAliasData {
|
|||
pub struct ImplData {
|
||||
pub target_trait: Option<Interned<TraitRef>>,
|
||||
pub self_ty: Interned<TypeRef>,
|
||||
pub items: Vec<AssocItemId>,
|
||||
pub items: Box<[AssocItemId]>,
|
||||
pub is_negative: bool,
|
||||
pub is_unsafe: bool,
|
||||
// box it as the vec is usually empty anyways
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue