Home
last modified time | relevance | path

Searched refs:WherePredicateTypeTarget (Results 1 – 10 of 10) sorted by relevance

/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir/src/
H A Ddisplay.rs4 generics::{TypeParamProvenance, WherePredicate, WherePredicateTypeTarget},
334 let is_unnamed_type_target = |target: &WherePredicateTypeTarget| match target { in write_where_clause()
335 WherePredicateTypeTarget::TypeRef(_) => false, in write_where_clause()
336 WherePredicateTypeTarget::TypeParam(id) => params.types[*id].name.is_none(), in write_where_clause()
350 let write_target = |target: &WherePredicateTypeTarget, f: &mut HirFormatter| match target { in write_where_clause()
351 WherePredicateTypeTarget::TypeRef(ty) => ty.hir_fmt(f), in write_where_clause()
352 WherePredicateTypeTarget::TypeParam(id) => match &params.types[*id].name { in write_where_clause()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir/src/
H A Ddisplay.rs4 generics::{TypeParamProvenance, WherePredicate, WherePredicateTypeTarget},
330 let is_unnamed_type_target = |target: &WherePredicateTypeTarget| match target { in write_where_clause()
331 WherePredicateTypeTarget::TypeRef(_) => false, in write_where_clause()
332 WherePredicateTypeTarget::TypeParam(id) => params.types[*id].name.is_none(), in write_where_clause()
346 let write_target = |target: &WherePredicateTypeTarget, f: &mut HirFormatter| match target { in write_where_clause()
347 WherePredicateTypeTarget::TypeRef(ty) => ty.hir_fmt(f), in write_where_clause()
348 WherePredicateTypeTarget::TypeParam(id) => match &params.types[*id].name { in write_where_clause()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/
H A Dgenerics.rs74 target: WherePredicateTypeTarget,
83 target: WherePredicateTypeTarget,
89 pub enum WherePredicateTypeTarget { enum
261 target: WherePredicateTypeTarget::TypeRef(Interned::new(type_ref)), in add_where_predicate_from_bound()
265 target: WherePredicateTypeTarget::TypeRef(Interned::new(type_ref)), in add_where_predicate_from_bound()
293 target: WherePredicateTypeTarget::TypeParam(param_id), in fill_implicit_impl_trait_args()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/
H A Dgenerics.rs74 target: WherePredicateTypeTarget,
83 target: WherePredicateTypeTarget,
89 pub enum WherePredicateTypeTarget { enum
261 target: WherePredicateTypeTarget::TypeRef(Interned::new(type_ref)), in add_where_predicate_from_bound()
265 target: WherePredicateTypeTarget::TypeRef(Interned::new(type_ref)), in add_where_predicate_from_bound()
293 target: WherePredicateTypeTarget::TypeParam(param_id), in fill_implicit_impl_trait_args()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_ty/src/
H A Dutils.rs11 GenericParams, TypeParamData, TypeParamProvenance, WherePredicate, WherePredicateTypeTarget,
54 WherePredicateTypeTarget::TypeRef(type_ref) => match &**type_ref {
58 WherePredicateTypeTarget::TypeParam(local_id) if Some(*local_id) == trait_self => {
H A Dlower.rs18 generics::{TypeParamProvenance, WherePredicate, WherePredicateTypeTarget},
759 WherePredicateTypeTarget::TypeRef(type_ref) => self.lower_ty(type_ref), in lower_where_predicate()
760 WherePredicateTypeTarget::TypeParam(param_id) => { in lower_where_predicate()
1047 WherePredicateTypeTarget::TypeRef(type_ref) => { in generic_predicates_for_param_query()
1052 WherePredicateTypeTarget::TypeParam(local_id) => { in generic_predicates_for_param_query()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_ty/src/
H A Dutils.rs11 GenericParams, TypeParamData, TypeParamProvenance, WherePredicate, WherePredicateTypeTarget,
52 WherePredicateTypeTarget::TypeRef(type_ref) => match &**type_ref { in direct_super_traits()
56 WherePredicateTypeTarget::TypeParam(local_id) if Some(*local_id) == trait_self => { in direct_super_traits()
H A Dlower.rs18 generics::{TypeParamProvenance, WherePredicate, WherePredicateTypeTarget},
759 WherePredicateTypeTarget::TypeRef(type_ref) => self.lower_ty(type_ref), in lower_where_predicate()
760 WherePredicateTypeTarget::TypeParam(param_id) => { in lower_where_predicate()
1048 WherePredicateTypeTarget::TypeRef(type_ref) => { in generic_predicates_for_param_query()
1053 WherePredicateTypeTarget::TypeParam(local_id) => { in generic_predicates_for_param_query()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_def/src/item_tree/
H A Dpretty.rs9 generics::{WherePredicate, WherePredicateTypeTarget},
701 WherePredicateTypeTarget::TypeRef(ty) => this.print_type_ref(ty), in print_where_clause()
702 WherePredicateTypeTarget::TypeParam(id) => match &params.types[*id].name { in print_where_clause()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_def/src/item_tree/
H A Dpretty.rs9 generics::{WherePredicate, WherePredicateTypeTarget},
715 WherePredicateTypeTarget::TypeRef(ty) => this.print_type_ref(ty), in print_where_clause()
716 WherePredicateTypeTarget::TypeParam(id) => match &params.types[*id].name { in print_where_clause()