Home
last modified time | relevance | path

Searched refs:TupleStruct (Results 1 – 25 of 56) 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
29 TupleStruct<T, U>: 'pin;
37 TupleStruct<T, U>: 'pin;
38 impl<T, U> TupleStruct<T, U> { implementation
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> implementation
86 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
90 impl<T, U> _pin_project::__private::Drop for TupleStruct<T, U> { implementation
100 impl<T, U> ::pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
103 fn __drop_inner<T, U>(__self: Pin<&mut TupleStruct<T, U>>) { in drop()
Dtuple_struct.rs6 struct TupleStruct<T, U>(#[pin] T, U); struct
9 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
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
37 impl<T, U> TupleStruct<T, U> { implementation
65 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
69 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
77 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> 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/default/
Dtuple_struct.expanded.rs3 struct TupleStruct<T, U>(#[pin] T, U); struct
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
37 impl<T, U> TupleStruct<T, U> { impl
65 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
80 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
85 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
92 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
94 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/pub/
Dtuple_struct.expanded.rs3 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
37 impl<T, U> TupleStruct<T, U> { implementation
65 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
80 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
85 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
92 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
94 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/naming/
Dtuple_struct-none.expanded.rs3 struct TupleStruct<T, U>(#[pin] T, U); struct
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
37 impl<T, U> TupleStruct<T, U> { impl
65 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
80 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
85 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
92 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
94 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
21 TupleStruct<T, U>: 'pin;
46 TupleStruct<T, U>: 'pin;
47 impl<T, U> TupleStruct<T, U> { implementation
72 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
87 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
92 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
99 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
101 impl<T, U> _pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
Dtuple_struct-mut.expanded.rs3 struct TupleStruct<T, U>(#[pin] T, U); struct
21 TupleStruct<T, U>: 'pin;
46 TupleStruct<T, U>: 'pin;
47 impl<T, U> TupleStruct<T, U> { impl
72 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
87 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
92 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
99 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
101 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
40 TupleStruct<T, U>: 'pin;
48 TupleStruct<T, U>: 'pin;
49 impl<T, U> TupleStruct<T, U> { implementation
101 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
116 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
121 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
128 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
130 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
21 TupleStruct<T, U>: 'pin;
39 TupleStruct<T, U>: 'pin;
69 impl<T, U> TupleStruct<T, U> { impl
115 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
130 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
135 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
142 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
144 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/unsafe_unpin/
Dtuple_struct.expanded.rs3 struct TupleStruct<T, U>(#[pin] T, U); struct
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
37 impl<T, U> TupleStruct<T, U> { implementation
65 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
69 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
76 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
78 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
28 TupleStruct<T, U>: 'pin;
36 TupleStruct<T, U>: 'pin;
42 impl<T, U> TupleStruct<T, U> { implementation
94 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
109 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
114 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
121 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
123 impl<T, U> _pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/multifields/
Dtuple_struct.expanded.rs3 struct TupleStruct<T, U>(#[pin] T, #[pin] T, U, U); struct
30 TupleStruct<T, U>: 'pin;
40 TupleStruct<T, U>: 'pin;
48 impl<T, U> TupleStruct<T, U> { impl
109 fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) { in __assert_not_repr_packed()
127 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> implementation
132 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for TupleStruct<T, U> implementation
139 impl<T, U> TupleStructMustNotImplDrop for TupleStruct<T, U> {} implementation
141 impl<T, U> _pin_project::__private::PinnedDrop for TupleStruct<T, U> { implementation
/external/rust/crates/pin-project/tests/ui/pin_project/
Dproject_replace_unsized.stderr76 9 | struct TupleStruct<T: ?Sized>(T);
79 note: required because it appears within the type `TupleStruct<T>`
82 9 | struct TupleStruct<T: ?Sized>(T);
87 9 - struct TupleStruct<T: ?Sized>(T);
88 9 + struct TupleStruct<T>(T);
100 9 | struct TupleStruct<T: ?Sized>(T);
103 note: required because it appears within the type `TupleStruct<T>`
106 9 | struct TupleStruct<T: ?Sized>(T);
116 9 - struct TupleStruct<T: ?Sized>(T);
117 9 + struct TupleStruct<T>(T);
Dproject_replace_unsized_fn_params.stderr71 11 | struct TupleStruct<T: ?Sized>(T);
80 11 | struct TupleStruct<T: ?Sized>(T);
85 11 - struct TupleStruct<T: ?Sized>(T);
86 11 + struct TupleStruct<T>(T);
94 11 | struct TupleStruct<T: ?Sized>(T);
97 note: required because it appears within the type `TupleStruct<T>`
100 11 | struct TupleStruct<T: ?Sized>(T);
110 11 - struct TupleStruct<T: ?Sized>(T);
111 11 + struct TupleStruct<T>(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
/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.rs487 pub struct TupleStruct(#[pin] pub Box<isize>, pub Box<isize>); struct
524 pub struct TupleStruct(#[pin] pub Box<isize>, pub Box<isize>);
568 pub struct TupleStruct( struct
625 pub struct TupleStruct(
685 pub struct TupleStruct<'a, T, U>(#[pin] pub &'a mut T, pub &'a mut U) struct
733 pub struct TupleStruct<'a, T, U>(#[pin] pub &'a mut T, pub &'a mut U)
867 pub struct TupleStruct<'a, T, U>(#[pin] &'a mut T, &'a mut U); struct
901 pub struct TupleStruct<'a, T, U>(#[pin] &'a mut T, &'a mut U);
938 pub struct TupleStruct<T, U>(#[pin] pub T, pub U); struct
971 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()
Dpinned_drop.rs81 pub struct TupleStruct(()); in self_ty() struct
84 impl PinnedDrop for TupleStruct { in self_ty() implementation
/external/rust/crates/remain/tests/ui/
Dunnamed-fields.rs2 struct TupleStruct(usize, usize, usize); struct

123