aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/pinned_drop/enum.expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/pinned_drop/enum.expanded.rs')
-rw-r--r--tests/expand/pinned_drop/enum.expanded.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/expand/pinned_drop/enum.expanded.rs b/tests/expand/pinned_drop/enum.expanded.rs
index 1a8e746..b1ed73c 100644
--- a/tests/expand/pinned_drop/enum.expanded.rs
+++ b/tests/expand/pinned_drop/enum.expanded.rs
@@ -68,6 +68,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> {
@@ -91,6 +92,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> {