Home
last modified time | relevance | path

Searched refs:TupleStruct (Results 1 – 25 of 53) sorted by relevance

123

/external/rust/crates/pin-project/tests/expand/pinned_drop/
Dtuple_struct.expanded.rs4 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()
Dtuple_struct.rs5 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/
Dtuple_struct.expanded.rs3 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
Dtuple_struct.rs4 struct TupleStruct<T, U>(#[pin] T, U); struct
/external/rust/crates/pin-project/tests/expand/naming/
Dtuple_struct-mut.expanded.rs3 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
Dtuple_struct-none.expanded.rs3 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
Dtuple_struct-ref.expanded.rs3 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
Dtuple_struct-all.expanded.rs3 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
Dtuple_struct-own.expanded.rs3 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
Dtuple_struct-none.rs4 struct TupleStruct<T, U>(#[pin] T, U); struct
/external/rust/crates/pin-project/tests/expand/pub/
Dtuple_struct.expanded.rs3 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
Dtuple_struct.rs4 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct
/external/rust/crates/pin-project/tests/expand/default/
Dtuple_struct.expanded.rs3 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
Dtuple_struct.rs4 struct TupleStruct<T, U>(#[pin] T, U); struct
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/
Dtuple_struct.expanded.rs3 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/
Dtuple_struct.expanded.rs3 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
Dtuple_struct.rs4 struct TupleStruct<T, U>(#[pin] T, U); struct
/external/rust/crates/pin-project/tests/expand/multifields/
Dtuple_struct.expanded.rs3 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/
Dproject_replace_unsized.stderr41 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);
Dinvalid.rs11 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
Dproject_replace_unsized_fn_params.stderr36 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/
Dvalue.rs11 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/
Dlint.rs484 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 …]
Dcfg.rs51 struct TupleStruct( in cfg() struct
60 assert_unpin!(TupleStruct); in cfg()
62 let _ = TupleStruct(Always); in cfg()
/external/rust/crates/remain/tests/ui/
Dunnamed-fields.rs2 struct TupleStruct(usize, usize, usize); struct

123