aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/not_unpin/tuple_struct.expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/not_unpin/tuple_struct.expanded.rs')
-rw-r--r--tests/expand/not_unpin/tuple_struct.expanded.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/expand/not_unpin/tuple_struct.expanded.rs b/tests/expand/not_unpin/tuple_struct.expanded.rs
index 99621f4..0b4b5d9 100644
--- a/tests/expand/not_unpin/tuple_struct.expanded.rs
+++ b/tests/expand/not_unpin/tuple_struct.expanded.rs
@@ -36,6 +36,7 @@ const _: () = {
TupleStruct<T, U>: 'pin;
impl<T, U> TupleStruct<T, U> {
#[allow(dead_code)]
+ #[inline]
fn project<'pin>(
self: _pin_project::__private::Pin<&'pin mut Self>,
) -> __TupleStructProjection<'pin, T, U> {
@@ -49,6 +50,7 @@ const _: () = {
}
#[allow(dead_code)]
#[allow(clippy::missing_const_for_fn)]
+ #[inline]
fn project_ref<'pin>(
self: _pin_project::__private::Pin<&'pin Self>,
) -> __TupleStructProjectionRef<'pin, T, U> {
@@ -66,6 +68,7 @@ const _: () = {
let _ = &this.0;
let _ = &this.1;
}
+ #[doc(hidden)]
impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U>
where
_pin_project::__private::Wrapper<