Home
last modified time | relevance | path

Searched refs:target_trait (Results 1 – 20 of 20) sorted by relevance

/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/
H A Dtraits.rs61 resolve_target_trait(sema, impl_def).map_or(vec![], |target_trait| { in get_missing_assoc_items()
62 target_trait in get_missing_assoc_items()
H A Dpath_transform.rs178 let target_trait = impl_def.trait_()?; in get_syntactic_substs() localVariable
179 let path_type = match target_trait { in get_syntactic_substs()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/
H A Dtraits.rs61 resolve_target_trait(sema, impl_def).map_or(vec![], |target_trait| { in get_missing_assoc_items()
62 target_trait in get_missing_assoc_items()
H A Dpath_transform.rs176 let target_trait = impl_def.trait_()?; in get_syntactic_substs() localVariable
177 let path_type = match target_trait { in get_syntactic_substs()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/
H A Ddata.rs217 pub target_trait: Option<Interned<TraitRef>>, field
230 let target_trait = impl_def.target_trait.clone(); in impl_data_query() localVariable
248 Arc::new(ImplData { target_trait, self_ty, items, is_negative }) in impl_data_query()
H A Dresolver.rs421 if let Some(target_trait) = &db.impl_data(impl_).target_trait { in traits_in_scope()
423 self.resolve_path_in_type_ns_fully(db, target_trait.path.mod_path()) in traits_in_scope()
H A Ditem_tree.rs699 pub target_trait: Option<Interned<TraitRef>>, field
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/
H A Ddata.rs253 pub target_trait: Option<Interned<TraitRef>>, field
266 let target_trait = impl_def.target_trait.clone(); in impl_data_query() localVariable
284 Arc::new(ImplData { target_trait, self_ty, items, is_negative }) in impl_data_query()
H A Dresolver.rs421 if let Some(target_trait) = &db.impl_data(impl_).target_trait { in traits_in_scope()
423 self.resolve_path_in_type_ns_fully(db, target_trait.path.mod_path()) in traits_in_scope()
H A Ditem_tree.rs681 pub target_trait: Option<Interned<TraitRef>>, field
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide/src/
H A Dfile_structure.rs159 let target_trait = it.trait_(); in structure_node() localVariable
160 let label = match target_trait { in structure_node()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide/src/
H A Dfile_structure.rs159 let target_trait = it.trait_(); in structure_node() localVariable
160 let label = match target_trait { in structure_node()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/item_tree/
H A Dpretty.rs370 let Impl { target_trait, self_ty, is_negative, items, generic_params, ast_id: _ } = in print_mod_item()
378 if let Some(tr) = target_trait { in print_mod_item()
H A Dlower.rs445 let target_trait = impl_def.trait_().and_then(|tr| self.lower_trait_ref(&tr)); in lower_impl() localVariable
462 let res = Impl { generic_params, target_trait, self_ty, is_negative, items, ast_id }; in lower_impl()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/item_tree/
H A Dpretty.rs374 let Impl { target_trait, self_ty, is_negative, items, generic_params, ast_id: _ } = in print_mod_item()
382 if let Some(tr) = target_trait { in print_mod_item()
H A Dlower.rs528 let target_trait = impl_def.trait_().and_then(|tr| self.lower_trait_ref(&tr)); in lower_impl() localVariable
546 let res = Impl { generic_params, target_trait, self_ty, is_negative, items, ast_id }; in lower_impl()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_ty/src/
H A Dmethod_resolution.rs188 let target_trait = match db.impl_trait(impl_id) { in collect_def_map() localVariable
195 .entry(target_trait) in collect_def_map()
305 if data.target_trait.is_some() { in collect_def_map()
H A Dlower.rs1522 let target_trait = impl_data.target_trait.as_ref()?; in impl_trait_query() localVariable
1523 Some(Binders::new(binders, ctx.lower_trait_ref(target_trait, Some(self_ty))?)) in impl_trait_query()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_ty/src/
H A Dmethod_resolution.rs164 let target_trait = match db.impl_trait(impl_id) { in collect_def_map() localVariable
171 .entry(target_trait) in collect_def_map()
286 if data.target_trait.is_some() { in collect_def_map()
H A Dlower.rs1522 let target_trait = impl_data.target_trait.as_ref()?; in impl_trait_query() localVariable
1523 Some(Binders::new(binders, ctx.lower_trait_ref(target_trait, Some(self_ty))?)) in impl_trait_query()