aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/not_unpin/enum.expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/not_unpin/enum.expanded.rs')
-rw-r--r--tests/expand/not_unpin/enum.expanded.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/expand/not_unpin/enum.expanded.rs b/tests/expand/not_unpin/enum.expanded.rs
index 98e7bbe..e60896c 100644
--- a/tests/expand/not_unpin/enum.expanded.rs
+++ b/tests/expand/not_unpin/enum.expanded.rs
@@ -67,6 +67,7 @@ const _: () = {
extern crate pin_project as _pin_project;
impl<T, U> Enum<T, U> {
#[allow(dead_code)]
+ #[inline]
fn project<'pin>(
self: _pin_project::__private::Pin<&'pin mut Self>,
) -> EnumProj<'pin, T, U> {
@@ -90,6 +91,7 @@ const _: () = {
}
#[allow(dead_code)]
#[allow(clippy::missing_const_for_fn)]
+ #[inline]
fn project_ref<'pin>(
self: _pin_project::__private::Pin<&'pin Self>,
) -> EnumProjRef<'pin, T, U> {
@@ -112,6 +114,7 @@ const _: () = {
}
}
}
+ #[doc(hidden)]
impl<'pin, T, U> _pin_project::__private::Unpin for Enum<T, U>
where
_pin_project::__private::Wrapper<