/external/rust/crates/pin-project/tests/expand/pinned_drop/ |
D | tuple_struct.expanded.rs | 4 struct TupleStruct<T, U>(#[pin] T, U); struct 32 TupleStruct<T, U>: 'pin; 49 TupleStruct<T, U>: 'pin; 50 impl<T, U> TupleStruct<T, U> { implementation 70 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 85 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 90 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 94 impl<T, U> ::pin_project::__private::Drop for TupleStruct<T, U> { implementation 103 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation 106 fn __drop_inner<T, U>(__self: Pin<&mut TupleStruct<T, U>>) { in drop()
|
D | tuple_struct.rs | 5 struct TupleStruct<T, U>(#[pin] T, U); struct 8 impl<T, U> PinnedDrop for TupleStruct<T, U> { implementation
|
/external/rust/crates/pin-project/tests/expand/not_unpin/ |
D | tuple_struct.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 49 impl<T, U> TupleStruct<T, U> { implementation 69 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 73 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 79 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 87 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 89 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct.rs | 4 struct TupleStruct<T, U>(#[pin] T, U); struct
|
/external/rust/crates/pin-project/tests/expand/naming/ |
D | tuple_struct-mut.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 17 TupleStruct<T, U>: 'pin; 45 TupleStruct<T, U>: 'pin; 46 impl<T, U> TupleStruct<T, U> { impl 64 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 79 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 84 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 91 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 93 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct-none.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 49 impl<T, U> TupleStruct<T, U> { implementation 69 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 84 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 89 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 96 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 98 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct-ref.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 17 TupleStruct<T, U>: 'pin; 45 TupleStruct<T, U>: 'pin; 46 impl<T, U> TupleStruct<T, U> { impl 66 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 81 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 86 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 93 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 95 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct-all.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 17 TupleStruct<T, U>: 'pin; 31 TupleStruct<T, U>: 'pin; 53 impl<T, U> TupleStruct<T, U> { impl 92 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 107 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 112 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 119 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 121 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct-own.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 41 TupleStruct<T, U>: 'pin; 58 TupleStruct<T, U>: 'pin; 59 impl<T, U> TupleStruct<T, U> { implementation 100 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 115 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 120 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 127 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 129 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct-none.rs | 4 struct TupleStruct<T, U>(#[pin] T, U); struct
|
/external/rust/crates/pin-project/tests/expand/pub/ |
D | tuple_struct.expanded.rs | 3 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 49 impl<T, U> TupleStruct<T, U> { implementation 69 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 84 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 89 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 96 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 98 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct.rs | 4 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct
|
/external/rust/crates/pin-project/tests/expand/default/ |
D | tuple_struct.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 49 impl<T, U> TupleStruct<T, U> { impl 69 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 84 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 89 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 96 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 98 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct.rs | 4 struct TupleStruct<T, U>(#[pin] T, U); struct
|
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/ |
D | tuple_struct.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 49 impl<T, U> TupleStruct<T, U> { implementation 69 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 73 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 80 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 82 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
/external/rust/crates/pin-project/tests/expand/project_replace/ |
D | tuple_struct.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, U); struct 31 TupleStruct<T, U>: 'pin; 48 TupleStruct<T, U>: 'pin; 59 impl<T, U> TupleStruct<T, U> { impl 100 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 115 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 120 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 127 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 129 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
D | tuple_struct.rs | 4 struct TupleStruct<T, U>(#[pin] T, U); struct
|
/external/rust/crates/pin-project/tests/expand/multifields/ |
D | tuple_struct.expanded.rs | 3 struct TupleStruct<T, U>(#[pin] T, #[pin] T, U, U); struct 33 TupleStruct<T, U>: 'pin; 52 TupleStruct<T, U>: 'pin; 68 impl<T, U> TupleStruct<T, U> { implementation 122 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed() 140 impl<'pin, T, U> ::pin_project::__private::Unpin for TupleStruct<T, U> where implementation 145 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for TupleStruct<T, U> where implementation 152 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation 154 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
|
/external/rust/crates/pin-project/tests/ui/pin_project/ |
D | project_replace_unsized.stderr | 41 9 | struct TupleStruct<T: ?Sized>(T); 44 = note: required because it appears within the type `TupleStruct<T>` 56 9 | struct TupleStruct<T: ?Sized>(T); 59 = note: required because it appears within the type `TupleStruct<T>` 66 9 | struct TupleStruct<T: ?Sized>(T);
|
D | invalid.rs | 11 struct TupleStruct(#[pin(foo)] ()); //~ ERROR unexpected token struct 233 struct TupleStruct(); //~ ERROR may not be used on structs with zero fields struct 273 struct TupleStruct(); //~ ERROR may not be used on #[repr(packed)] types struct
|
D | project_replace_unsized_fn_params.stderr | 36 11 | struct TupleStruct<T: ?Sized>(T); 50 11 | struct TupleStruct<T: ?Sized>(T); 53 = note: required because it appears within the type `TupleStruct<T>`
|
/external/rust/crates/serde_cbor/tests/ |
D | value.rs | 11 struct TupleStruct(String, i32, u64); struct 18 tuple_struct: TupleStruct, 31 let tuple_struct = TupleStruct(format!("test"), -60, 3000); in serde()
|
/external/rust/crates/pin-project/tests/ |
D | lint.rs | 484 pub struct TupleStruct(#[pin] pub Box<isize>, pub Box<isize>); struct 521 pub struct TupleStruct(#[pin] pub Box<isize>, pub Box<isize>); 565 pub struct TupleStruct( struct 622 pub struct TupleStruct( 682 pub struct TupleStruct<'a, T, U>(#[pin] pub &'a mut T, pub &'a mut U) struct 730 pub struct TupleStruct<'a, T, U>(#[pin] pub &'a mut T, pub &'a mut U) 865 pub struct TupleStruct<'a, T, U>(#[pin] &'a mut T, &'a mut U); struct 899 pub struct TupleStruct<'a, T, U>(#[pin] &'a mut T, &'a mut U); 937 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct 972 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); [all …]
|
D | cfg.rs | 51 struct TupleStruct( in cfg() struct 60 assert_unpin!(TupleStruct); in cfg() 62 let _ = TupleStruct(Always); in cfg()
|
/external/rust/crates/remain/tests/ui/ |
D | unnamed-fields.rs | 2 struct TupleStruct(usize, usize, usize); struct
|