/external/rust/crates/pin-project-internal/src/ |
D | pinned_drop.rs | 21 if let Type::Path(self_ty) = &*input.self_ty { in attribute() 37 impl #impl_generics ::pin_project::__private::PinnedDrop for #self_ty in attribute() 64 return Err(error!(item.self_ty, INVALID_ITEM)); in validate_impl() 74 match &*item.self_ty { in validate_impl() 210 let self_ty = if let Type::Path(ty) = &*item.self_ty { ty } else { unreachable!() }; in expand_impl() localVariable 211 let mut visitor = ReplaceReceiver(self_ty); in expand_impl()
|
D | utils.rs | 184 fn self_ty(&self, span: Span) -> TypePath { in self_ty() method 206 ty: Box::new(self.self_ty(span).into()), in self_to_qself() 228 let self_ty = self.self_ty(first.ident.span()); in self_to_expr_path() localVariable 229 let variant = mem::replace(path, self_ty.path); in self_to_expr_path() 253 let self_ty = self.self_ty(ident.span()); in visit_token_stream() localVariable 262 out.extend(quote_spanned!(span=> <#self_ty>)) in visit_token_stream() 264 _ => out.extend(quote!(#self_ty)), in visit_token_stream() 268 _ => out.extend(quote!(#self_ty)), in visit_token_stream() 296 *ty = self.self_ty(node.path.segments[0].ident.span()).into(); in visit_type_mut()
|
/external/rust/crates/serde_derive/src/internals/ |
D | receiver.rs | 12 let self_ty = { in replace_receiver() localVariable 17 let mut visitor = ReplaceReceiver(&self_ty); in replace_receiver() 25 fn self_ty(&self, span: Span) -> TypePath { in self_ty() method 44 ty: Box::new(Type::Path(self.self_ty(span))), in self_to_qself() 57 let self_ty = self.self_ty(path.segments[0].ident.span()); in self_to_expr_path() localVariable 58 let variant = mem::replace(path, self_ty.path); in self_to_expr_path() 87 *ty = self.self_ty(span).into(); in visit_type_mut()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 903 let self_ty = &imp.self_ty; in parse_impl() localVariable 904 let span = quote!(#bang #path #for_token #self_ty); in parse_impl() 942 let mut self_ty = *imp.self_ty; in parse_impl() localVariable 943 if let RustType::Verbatim(ty) = &self_ty { in parse_impl() 950 self_ty = syn::parse2(ty)?; in parse_impl() 956 let ty = parse_type(&self_ty)?; in parse_impl()
|
/external/rust/crates/pin-project/tests/ui/pinned_drop/ |
D | invalid.rs | 207 mod self_ty { module
|
/external/rust/crates/pin-project/tests/ |
D | pinned_drop.rs | 57 fn self_ty() { in self_ty() function
|
/external/rust/crates/syn/src/ |
D | item.rs | 194 pub self_ty: Box<Type>, 2492 let self_ty: Type; in parse_impl() localVariable 2514 self_ty = input.parse()?; in parse_impl() 2517 self_ty = if polarity.is_none() { in parse_impl() 2545 self_ty: Box::new(self_ty), in parse_impl() 3021 self.self_ty.to_tokens(tokens); in to_tokens()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 26 let self_ty = parse_quote!(#ident #ty_generics); in parse_derive() localVariable 27 let mut visitor = ReplaceReceiver(&self_ty); in parse_derive()
|
/external/rust/crates/async-trait/src/ |
D | expand.rs | 89 lifetimes.visit_type_mut(&mut *input.self_ty); in expand()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 305 spanless_eq_struct!(ImplKind; unsafety polarity defaultness constness generics of_trait self_ty ite…
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 1141 self_ty: self.self_ty.clone(), in clone()
|
D | eq.rs | 1146 && self.self_ty == other.self_ty in eq()
|
D | fold.rs | 1981 self_ty: Box::new(f.fold_type(*node.self_ty)), in fold_item_impl()
|
D | hash.rs | 1501 self.self_ty.hash(state); in hash()
|
D | debug.rs | 1619 formatter.field("self_ty", &self.self_ty); in fmt()
|
D | visit_mut.rs | 2308 v.visit_type_mut(&mut *node.self_ty); in visit_item_impl_mut()
|
D | visit.rs | 2302 v.visit_type(&*node.self_ty); in visit_item_impl()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 2698 formatter.field("self_ty", Lite(&_val.self_ty)); in fmt() 3107 formatter.field("self_ty", Lite(&_val.self_ty)); in fmt()
|