/external/rust/crates/pin-project/tests/ |
D | lint.rs | 61 project_ref = DefaultStructNamedProjRef, 76 project_ref = DefaultTupleStructNamedProjRef, 83 project_ref = DefaultEnumProjRef, 121 project_ref = PinnedDropEnumProjRef, 149 project_ref = ReplaceStructNamedProjRef, 165 project_ref = ReplaceTupleStructNamedProjRef, 173 project_ref = ReplaceEnumProjRef, 202 project_ref = UnsafeUnpinEnumProjRef, 230 project_ref = NotUnpinEnumProjRef, 281 project_ref = DefaultStructNamedProjRef, [all …]
|
D | pin_project.rs | 19 project_ref = StructProjRef, in projection() 48 let StructProjRef { f1, f2 } = s.as_ref().project_ref(); in projection() 72 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in projection() 132 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in enum_project_set() 169 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in where_clause() 217 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in where_clause_and_associated_type_field() 252 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in move_out() 316 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in trait_bounds_on_type_generics() 445 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)] in lifetime_project() 456 self.project_ref().pinned in lifetime_project() [all …]
|
D | cfg.rs | 68 project_ref = VariantProjRef, in cfg() 90 project_ref = FieldProjRef, in cfg()
|
/external/rust/crates/pin-project/tests/ui/pin_project/ |
D | invalid.rs | 127 #[pin_project(project = A, project_ref = A, project = B)] //~ ERROR duplicate `project` argument 130 #[pin_project(project_ref = A, project_ref = B)] //~ ERROR duplicate `project_ref` argument 172 #[pin_project(project_ref)] //~ ERROR expected `project_ref = <identifier>`, found `project_ref` 175 …#[pin_project(project_ref = )] //~ ERROR expected `project_ref = <identifier>`, found `project_ref… 178 #[pin_project(project_ref = !)] //~ ERROR expected identifier 202 …#[pin_project(project_ref = OrigAndProjRef)] //~ ERROR name `OrigAndProjRef` is the same as the or… 208 …#[pin_project(project = A, project_ref = A)] //~ ERROR name `A` is already specified by `project` … 214 …#[pin_project(project_ref = A, project_replace = A)] //~ ERROR name `A` is already specified by `p…
|
D | invalid.stderr | 136 127 | #[pin_project(project = A, project_ref = A, project = B)] //~ ERROR duplicate `project` a… 139 error: duplicate `project_ref` argument 142 130 | #[pin_project(project_ref = A, project_ref = B)] //~ ERROR duplicate `project_ref` argume… 217 error: expected `project_ref = <identifier>`, found `project_ref` 220 172 | #[pin_project(project_ref)] //~ ERROR expected `project_ref = <identifier>`, found `proje… 223 error: expected `project_ref = <identifier>`, found `project_ref =` 226 175 | #[pin_project(project_ref = )] //~ ERROR expected `project_ref = <identifier>`, found `pr… 232 178 | #[pin_project(project_ref = !)] //~ ERROR expected identifier 262 202 | #[pin_project(project_ref = OrigAndProjRef)] //~ ERROR name `OrigAndProjRef` is the same … 274 208 | #[pin_project(project = A, project_ref = A)] //~ ERROR name `A` is already specified by `… [all …]
|
D | visibility.rs | 7 #[pin_project(project = DProj, project_ref = DProjRef)] 10 #[pin_project(project = RProj, project_ref = RProjRef, project_replace = RProjOwn)] 37 #[pin_project(project = DProj, project_ref = DProjRef)] 40 #[pin_project(project = RProj, project_ref = RProjRef, project_replace = RProjOwn)]
|
/external/rust/crates/pin-project/tests/include/ |
D | basic-safe-part.rs | 13 project_ref = DefaultStructNamedProjRef, 28 project_ref = DefaultTupleStructNamedProjRef, 35 project_ref = DefaultEnumProjRef, 73 project_ref = PinnedDropEnumProjRef, 101 project_ref = ReplaceStructNamedProjRef, 117 project_ref = ReplaceTupleStructNamedProjRef, 125 project_ref = ReplaceEnumProjRef, 154 project_ref = UnsafeUnpinEnumProjRef, 182 project_ref = NotUnpinEnumProjRef,
|
/external/rust/crates/pin-project-lite/tests/ |
D | test.rs | 17 #[project_ref = StructProjRef] in projection() 47 let StructProjRef { f1, f2 } = s.as_ref().project_ref(); in projection() 63 #[project_ref = EnumProjRef] in projection() 108 #[project_ref = EnumProjRef] in enum_project_set() 144 #[project_ref = EnumProjRef] in where_clause() 193 #[project_ref = EnumProjRef] in where_clause_and_associated_type_field() 233 #[project_ref = EnumProjRef] in move_out() 305 #[project_ref = EnumProjRef] in trait_bounds_on_type_generics() 345 #[project_ref = EnumProjRef] in lifetime_project() 357 self.project_ref().pinned in lifetime_project() [all …]
|
D | lint.rs | 61 #[project_ref = EnumProjRef] 92 #[project_ref = EnumProjRef] 114 #[project_ref = EnumProjRef] 139 #[project_ref = EnumProjRef] 168 #[project_ref = EnumProjRef] 198 #[project_ref = EnumProjRef] 228 #[project_ref = EnumProjRef] 253 #[project_ref = EnumProjRef]
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | args.rs | 69 pub(super) project_ref: Option<Ident>, field 107 let mut project_ref = None; in parse() localVariable 139 project_ref = Some(parse_value(input, &token, project_ref.is_some())?.0); in parse() 169 if project.is_some() || project_ref.is_some() { in parse() 170 if project == project_ref { in parse() 172 project_ref, in parse() 174 project_ref.as_ref().unwrap() in parse() 183 } else if project_ref == project_replace_value { in parse() 217 Ok(Self { pinned_drop, unpin_impl, project, project_ref, project_replace }) in parse()
|
D | derive.rs | 166 project_ref: bool, field 179 let Args { pinned_drop, unpin_impl, project, project_ref, project_replace } = in new() 182 if let Some(name) = [project.as_ref(), project_ref.as_ref(), project_replace.ident()] in new() 216 project_ref: project_ref.is_some(), in new() 221 ref_ident: project_ref.unwrap_or_else(|| format_ident!("__{}ProjectionRef", ident)), in new() 376 generate.extend(cx.project_ref, quote! { in parse_struct() 449 if cx.project_ref { 937 let mut project_ref = Some(quote! { in make_proj_impl() localVariable 939 #vis fn project_ref<#lifetime>( in make_proj_impl() 977 if !cx.project_ref { in make_proj_impl() [all …]
|
/external/rust/crates/pin-project-lite/tests/include/ |
D | basic.rs | 14 #[project_ref = DefaultStructProjRef] 25 #[project_ref = DefaultEnumProjRef]
|
/external/rust/crates/pin-project/tests/expand/naming/ |
D | enum-ref.expanded.rs | 2 # [pin (__private (project_ref = ProjRef))] 47 fn project_ref<'pin>( in project_ref() method
|
D | tuple_struct-ref.rs | 3 #[pin_project(project_ref = ProjRef)]
|
D | struct-ref.rs | 3 #[pin_project(project_ref = ProjRef)]
|
D | tuple_struct-all.rs | 3 #[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)]
|
D | struct-ref.expanded.rs | 2 # [pin (__private (project_ref = ProjRef))] 68 fn project_ref<'pin>( in project_ref() method
|
D | tuple_struct-ref.expanded.rs | 2 # [pin (__private (project_ref = ProjRef))] 56 fn project_ref<'pin>( in project_ref() method
|
D | struct-all.rs | 3 #[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)]
|
D | enum-ref.rs | 3 #[pin_project(project_ref = ProjRef)]
|
D | enum-all.rs | 3 #[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)]
|
/external/rust/crates/pin-project/tests/expand/default/ |
D | enum.rs | 3 #[pin_project(project = EnumProj, project_ref = EnumProjRef)]
|
/external/rust/crates/pin-project/tests/expand/pub/ |
D | enum.rs | 3 #[pin_project(project = EnumProj, project_ref = EnumProjRef)]
|
/external/rust/crates/pin-project/tests/expand/not_unpin/ |
D | enum.rs | 3 #[pin_project(!Unpin, project = EnumProj, project_ref = EnumProjRef)]
|
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/ |
D | enum.expanded.rs | 2 # [pin (__private (UnsafeUnpin , project = EnumProj , project_ref = EnumProjRef))] 85 fn project_ref<'pin>( in project_ref() method
|