/external/rust/crates/serde_derive/src/internals/ |
D | receiver.rs | 31 fn self_to_qself(&self, qself: &mut Option<QSelf>, path: &mut Path) { in self_to_qself() 42 *qself = Some(QSelf { in self_to_qself() 77 if node.qself.is_none() && node.path.is_ident("Self") { in visit_type_mut() 92 if ty.qself.is_none() { in visit_type_path_mut() 93 self.self_to_qself(&mut ty.qself, &mut ty.path); in visit_type_path_mut() 100 if expr.qself.is_none() { in visit_expr_path_mut() 101 self.self_to_qself(&mut expr.qself, &mut expr.path); in visit_expr_path_mut() 129 if let Some(qself) = &mut ty.qself { in visit_type_mut_impl() 130 self.visit_type_mut(&mut qself.ty); in visit_type_mut_impl() 156 if let Some(qself) = &mut ty.qself { in visit_type_path_mut_impl() [all …]
|
D | attr.rs | 1383 qself: None, in from_ast() 1400 qself: None, in from_ast() 1818 syn::Type::Path(ty) => ty.qself.is_none() && is_primitive_path(&ty.path, primitive), in is_primitive_type() 1876 if let Some(qself) = &ty.qself { in collect_lifetimes() 1877 collect_lifetimes(&qself.ty, out); in collect_lifetimes()
|
/external/rust/crates/syn/src/ |
D | path.rs | 287 if argument.qself.is_none() in parse() 331 qself: None, in const_argument() 670 let qself = QSelf { in qpath() localVariable 677 Ok((Some(qself), path)) in qpath() 821 pub(crate) fn print_path(tokens: &mut TokenStream, qself: &Option<QSelf>, path: &Path) { in print_path() 822 let qself = match qself { in print_path() localVariable 823 Some(qself) => qself, in print_path() 829 qself.lt_token.to_tokens(tokens); in print_path() 830 qself.ty.to_tokens(tokens); in print_path() 832 let pos = cmp::min(qself.position, path.segments.len()); in print_path() [all …]
|
D | pat.rs | 179 pub qself: Option<QSelf>, 374 let (qself, path) = path::parsing::qpath(input, true)?; in pat_path_or_macro_or_struct_or_range() 376 if qself.is_none() && input.peek(Token![!]) && !input.peek(Token![!=]) { in pat_path_or_macro_or_struct_or_range() 404 if qself.is_some() { in pat_path_or_macro_or_struct_or_range() 411 if qself.is_some() { in pat_path_or_macro_or_struct_or_range() 417 pat_range(input, begin, qself, path) in pat_path_or_macro_or_struct_or_range() 421 qself, in pat_path_or_macro_or_struct_or_range() 560 qself: Option<QSelf>, in pat_range() 570 qself, in pat_range() 830 path::printing::print_path(tokens, &self.qself, &self.path); in to_tokens()
|
D | ty.rs | 201 pub qself: Option<QSelf>, 380 qself: Some(QSelf { in ambig_ty() 480 Type::Path(TypePath { qself: None, path }) => { in ambig_ty() 564 if ty.qself.is_some() { in ambig_ty() 841 let (qself, mut path) = path::parsing::qpath(input, expr_style)?; in parse() 864 Ok(TypePath { qself, path }) in parse() 1083 qself: None, in parse_bare_fn_arg() 1212 path::printing::print_path(tokens, &self.qself, &self.path); in to_tokens()
|
D | expr.rs | 607 pub qself: Option<QSelf>, 787 qself: None, 1841 if expr.qself.is_none() && input.peek(Token![!]) && !input.peek(Token![!=]) { in path_or_macro_or_struct() 1869 if expr.qself.is_some() { in path_or_macro_or_struct() 2660 qself: None, in parse() 2826 let (qself, path) = path::parsing::qpath(input, true)?; in parse() 2828 Ok(ExprPath { attrs, qself, path }) in parse() 3404 path::printing::print_path(tokens, &self.qself, &self.path); in to_tokens()
|
/external/rust/crates/pin-project-internal/src/ |
D | utils.rs | 200 fn self_to_qself(&self, qself: &mut Option<QSelf>, path: &mut Path) { in self_to_qself() 216 *qself = Some(QSelf { in self_to_qself() 307 if node.qself.is_none() && node.path.is_ident("Self") { in visit_type_mut() 319 if ty.qself.is_none() { in visit_type_path_mut() 320 self.self_to_qself(&mut ty.qself, &mut ty.path); in visit_type_path_mut() 327 if expr.qself.is_none() { in visit_expr_path_mut() 328 self.self_to_qself(&mut expr.qself, &mut expr.path); in visit_expr_path_mut() 339 if pat.qself.is_none() { in visit_pat_path_mut() 340 self.self_to_qself(&mut pat.qself, &mut pat.path); in visit_pat_path_mut()
|
D | pinned_drop.rs | 105 if let Type::Path(TypePath { qself: None, path }) = ty { in validate_sig()
|
/external/rust/crates/serde_derive/src/ |
D | bound.rs | 166 if let Some(qself) = &ty.qself { in with_bound() 167 self.visit_type(&qself.ty); in with_bound() 278 qself: None, in with_bound() 370 qself: None, in type_of_item() 386 qself: None, in type_of_item()
|
/external/rust/crates/thiserror-impl/src/ |
D | generics.rs | 28 if ty.qself.is_none() { in crawl()
|
/external/rust/crates/syn/tests/ |
D | test_precedence.rs | 252 qself, in librustc_brackets() 257 vis.visit_qself(qself); in librustc_brackets()
|
/external/rust/crates/clap_derive/src/utils/ |
D | ty.rs | 83 qself: None, in only_last_segment()
|
/external/rust/crates/der_derive/src/sequence/ |
D | field.rs | 256 qself: None, in type_path()
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 591 qself: self.qself.clone(), in clone() 1547 qself: self.qself.clone(), in clone() 2025 qself: self.qself.clone(), in clone()
|
D | eq.rs | 574 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path in eq() 1476 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path in eq() 1961 self.qself == other.qself && self.path == other.path in eq()
|
D | fold.rs | 1453 qself: (node.qself).map(|it| f.fold_qself(it)), in fold_expr_path() 2570 qself: (node.qself).map(|it| f.fold_qself(it)), in fold_pat_path() 3107 qself: (node.qself).map(|it| f.fold_qself(it)), in fold_type_path()
|
D | hash.rs | 817 self.qself.hash(state); in hash() 1999 self.qself.hash(state); in hash() 2601 self.qself.hash(state); in hash()
|
D | debug.rs | 905 formatter.field("qself", &self.qself); in fmt() 2161 formatter.field("qself", &self.qself); in fmt() 2769 formatter.field("qself", &self.qself); in fmt()
|
D | visit_mut.rs | 1584 if let Some(it) = &mut node.qself { in visit_expr_path_mut() 2889 if let Some(it) = &mut node.qself { in visit_pat_path_mut() 3530 if let Some(it) = &mut node.qself { in visit_type_path_mut()
|
/external/rust/crates/argh_derive/src/ |
D | lib.rs | 877 if path.qself.is_some() { in ty_expect_switch() 912 if path.qself.is_some() { in ty_inner()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 433 spanless_eq_struct!(InlineAsmSym; id qself path); 456 spanless_eq_struct!(StructExpr; qself path fields rest);
|
/external/rust/crates/async-trait/src/ |
D | expand.rs | 470 if ty.qself.is_none() in contains_associated_type_impl_trait()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 1221 if ty.qself.is_none() && path.leading_colon.is_none() && path.segments.len() == 1 { in parse_type_path() 1450 if ty.qself.is_none() && path.leading_colon.is_none() && path.segments.len() == 1 { in parse_return_type()
|
/external/rust/crates/synstructure/src/ |
D | lib.rs | 1612 qself: None, in add_trait_bounds()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 838 if let Some(val) = &_val.qself { in fmt() 1583 if let Some(val) = &_val.qself { in fmt() 3764 if let Some(val) = &_val.qself { in fmt() 4015 if let Some(val) = &_val.qself { in fmt() 4936 if let Some(val) = &_val.qself { in fmt() 5266 if let Some(val) = &_val.qself { in fmt()
|