Home
last modified time | relevance | path

Searched defs:WherePredicate (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs31 predicates: &[syn::WherePredicate], in with_where_predicates()
44 from_field: fn(&attr::Field) -> Option<&[syn::WherePredicate]>, in with_where_predicates_from_fields()
60 from_variant: fn(&attr::Variant) -> Option<&[syn::WherePredicate]>, in with_where_predicates_from_variants()
/third_party/rust/rust/src/librustdoc/clean/
Dauto_trait.rs187 ) -> ThinVec<WherePredicate> { in handle_lifetimes()
351 ) -> Vec<WherePredicate> { in make_final_bounds()
428 mut existing_predicates: ThinVec<WherePredicate>, in param_env_to_generics()
665 fn sort_where_predicates(&self, predicates: &mut [WherePredicate]) { in sort_where_predicates()
Dmod.rs297 ) -> Option<WherePredicate> { in clean_where_predicate()
331 ) -> Option<WherePredicate> { in clean_predicate()
352 ) -> Option<WherePredicate> { in clean_poly_trait_predicate()
370 ) -> Option<WherePredicate> { in clean_region_outlives_predicate()
384 ) -> Option<WherePredicate> { in clean_type_outlives_predicate()
419 ) -> WherePredicate { in clean_projection_predicate()
Dtypes.rs1279 pub(crate) enum WherePredicate { enum
1285 impl WherePredicate { impl
/third_party/rust/rust/compiler/rustc_ast_pretty/src/pprust/state/
Ditem.rs606 predicates: &[ast::WherePredicate], in print_where_clause_parts()
624 pub fn print_where_predicate(&mut self, predicate: &ast::WherePredicate) { in print_where_predicate()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs622 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { in ser_bound()
626 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { in de_bound()
1000 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { in ser_bound()
1004 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { in de_bound()
1362 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { in ser_bound()
1366 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { in de_bound()
1458 ) -> syn::Result<SerAndDe<Vec<syn::WherePredicate>>> { in get_where_predicates()
1556 ) -> syn::Result<Vec<syn::WherePredicate>> { in parse_lit_into_where()
/third_party/rust/rust/src/tools/rustfmt/src/
Dspanned.rs145 impl Spanned for ast::WherePredicate { implementation
Ditems.rs2864 predicates: &[ast::WherePredicate], in rewrite_where_clause_rfc_style()
2917 predicates: &[ast::WherePredicate], in rewrite_where_keyword()
2964 predicates: &[ast::WherePredicate], in rewrite_bounds_on_where_clause()
3012 predicates: &[ast::WherePredicate], in rewrite_where_clause()
3113 predicates: &[ast::WherePredicate], in missing_span_before_after_where()
Dtypes.rs417 impl Rewrite for ast::WherePredicate { implementation
/third_party/rust/rust/compiler/rustc_parse/src/parser/
Dgenerics.rs451 fn parse_ty_where_predicate(&mut self) -> PResult<'a, ast::WherePredicate> { in parse_ty_where_predicate()
/third_party/rust/rust/src/librustdoc/json/
Dconversions.rs459 impl FromWithTcx<clean::WherePredicate> for WherePredicate { implementation
460 fn from_tcx(predicate: clean::WherePredicate, tcx: TyCtxt<'_>) -> Self { in from_tcx()
/third_party/rust/rust/compiler/rustc_lint/src/
Dunused.rs1158 fn enter_where_predicate(&mut self, _: &EarlyContext<'_>, pred: &ast::WherePredicate) { in enter_where_predicate()
1171 fn exit_where_predicate(&mut self, _: &EarlyContext<'_>, _: &ast::WherePredicate) { in exit_where_predicate() argument
Dearly.rs249 fn visit_where_predicate(&mut self, p: &'a ast::WherePredicate) { in visit_where_predicate()
/third_party/rust/rust/compiler/rustc_middle/src/ty/
Ddiagnostics.rs173 let WherePredicate::BoundPredicate(predicate) = predicate else { in suggest_changing_unsized_bound() localVariable
/third_party/rust/rust/src/tools/clippy/clippy_utils/src/
Dast_utils.rs574 pub fn eq_where_predicate(l: &WherePredicate, r: &WherePredicate) -> bool { in eq_where_predicate()
/third_party/rust/rust/compiler/rustc_ast/src/
Dvisit.rs161 fn visit_where_predicate(&mut self, p: &'ast WherePredicate) { in visit_where_predicate()
622 pub fn walk_where_predicate<'a, V: Visitor<'a>>(visitor: &mut V, predicate: &'a WherePredicate) { in walk_where_predicate()
Dmut_visit.rs273 fn visit_where_predicate(&mut self, where_predicate: &mut WherePredicate) { in visit_where_predicate()
940 pub fn noop_visit_where_predicate<T: MutVisitor>(pred: &mut WherePredicate, vis: &mut T) { in noop_visit_where_predicate()
Dast.rs432 pub enum WherePredicate { enum
441 impl WherePredicate { implementation
/third_party/rust/rust/src/tools/jsondoclint/src/
Dvalidator.rs366 fn check_where_predicate(&mut self, w: &'a WherePredicate) { in check_where_predicate()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dgenerics.rs121 pub enum WherePredicate { enum
/third_party/rust/crates/syn/src/
Dgenerics.rs910 impl Parse for WherePredicate { implementation
/third_party/rust/rust/compiler/rustc_passes/src/
Dhir_stats.rs611 fn visit_where_predicate(&mut self, p: &'v ast::WherePredicate) { in visit_where_predicate()
/third_party/rust/rust/compiler/rustc_ast_passes/src/
Dast_validation.rs142 before_predicates: &[WherePredicate], in check_gat_where()
/third_party/rust/rust/src/rustdoc-json-types/
Dlib.rs485 pub enum WherePredicate { enum
/third_party/rust/rust/compiler/rustc_ast_lowering/src/
Ditem.rs1309 let WherePredicate::BoundPredicate(bound_pred) = pred else { in lower_generics() localVariable

12