aboutsummaryrefslogtreecommitdiff
path: root/tests/expand
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand')
-rw-r--r--tests/expand/default/enum.expanded.rs6
-rw-r--r--tests/expand/default/struct.expanded.rs20
-rw-r--r--tests/expand/default/tuple_struct.expanded.rs20
-rw-r--r--tests/expand/multifields/enum.expanded.rs7
-rw-r--r--tests/expand/multifields/struct.expanded.rs28
-rw-r--r--tests/expand/multifields/tuple_struct.expanded.rs28
-rw-r--r--tests/expand/naming/enum-all.expanded.rs7
-rw-r--r--tests/expand/naming/enum-mut.expanded.rs4
-rw-r--r--tests/expand/naming/enum-none.expanded.rs2
-rw-r--r--tests/expand/naming/enum-own.expanded.rs3
-rw-r--r--tests/expand/naming/enum-ref.expanded.rs4
-rw-r--r--tests/expand/naming/struct-all.expanded.rs7
-rw-r--r--tests/expand/naming/struct-mut.expanded.rs13
-rw-r--r--tests/expand/naming/struct-none.expanded.rs20
-rw-r--r--tests/expand/naming/struct-own.expanded.rs21
-rw-r--r--tests/expand/naming/struct-ref.expanded.rs13
-rw-r--r--tests/expand/naming/tuple_struct-all.expanded.rs7
-rw-r--r--tests/expand/naming/tuple_struct-mut.expanded.rs13
-rw-r--r--tests/expand/naming/tuple_struct-none.expanded.rs20
-rw-r--r--tests/expand/naming/tuple_struct-own.expanded.rs21
-rw-r--r--tests/expand/naming/tuple_struct-ref.expanded.rs13
-rw-r--r--tests/expand/not_unpin/enum.expanded.rs6
-rw-r--r--tests/expand/not_unpin/struct.expanded.rs20
-rw-r--r--tests/expand/not_unpin/tuple_struct.expanded.rs20
-rw-r--r--tests/expand/pinned_drop/enum.expanded.rs6
-rw-r--r--tests/expand/pinned_drop/struct.expanded.rs20
-rw-r--r--tests/expand/pinned_drop/tuple_struct.expanded.rs20
-rw-r--r--tests/expand/project_replace/enum.expanded.rs3
-rw-r--r--tests/expand/project_replace/struct.expanded.rs28
-rw-r--r--tests/expand/project_replace/tuple_struct.expanded.rs28
-rw-r--r--tests/expand/pub/enum.expanded.rs6
-rw-r--r--tests/expand/pub/struct.expanded.rs20
-rw-r--r--tests/expand/pub/tuple_struct.expanded.rs20
-rw-r--r--tests/expand/unsafe_unpin/enum.expanded.rs6
-rw-r--r--tests/expand/unsafe_unpin/struct.expanded.rs20
-rw-r--r--tests/expand/unsafe_unpin/tuple_struct.expanded.rs20
36 files changed, 104 insertions, 416 deletions
diff --git a/tests/expand/default/enum.expanded.rs b/tests/expand/default/enum.expanded.rs
index e042f8c..75ec2fe 100644
--- a/tests/expand/default/enum.expanded.rs
+++ b/tests/expand/default/enum.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,9 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -61,7 +61,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/default/struct.expanded.rs b/tests/expand/default/struct.expanded.rs
index 70f04ef..794675a 100644
--- a/tests/expand/default/struct.expanded.rs
+++ b/tests/expand/default/struct.expanded.rs
@@ -13,20 +13,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/default/tuple_struct.expanded.rs b/tests/expand/default/tuple_struct.expanded.rs
index 1322d22..6a3dfbf 100644
--- a/tests/expand/default/tuple_struct.expanded.rs
+++ b/tests/expand/default/tuple_struct.expanded.rs
@@ -9,37 +9,21 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/multifields/enum.expanded.rs b/tests/expand/multifields/enum.expanded.rs
index 4c935d7..6ccbd9d 100644
--- a/tests/expand/multifields/enum.expanded.rs
+++ b/tests/expand/multifields/enum.expanded.rs
@@ -20,9 +20,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -49,9 +49,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -78,6 +78,7 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(variant_size_differences)]
#[allow(clippy::large_enum_variant)]
@@ -104,7 +105,9 @@ enum EnumProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/multifields/struct.expanded.rs b/tests/expand/multifields/struct.expanded.rs
index 1f7dfdd..7e3505b 100644
--- a/tests/expand/multifields/struct.expanded.rs
+++ b/tests/expand/multifields/struct.expanded.rs
@@ -16,20 +16,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -39,17 +32,8 @@ const _: () = {
unpinned1: &'pin mut (U),
unpinned2: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -59,14 +43,6 @@ const _: () = {
unpinned1: &'pin (U),
unpinned2: &'pin (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
struct __StructProjectionOwned<T, U> {
pinned1: ::pin_project::__private::PhantomData<T>,
diff --git a/tests/expand/multifields/tuple_struct.expanded.rs b/tests/expand/multifields/tuple_struct.expanded.rs
index aef8f8d..7b47899 100644
--- a/tests/expand/multifields/tuple_struct.expanded.rs
+++ b/tests/expand/multifields/tuple_struct.expanded.rs
@@ -9,20 +9,13 @@ struct TupleStruct<T, U>(#[pin] T, #[pin] T, U, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
::pin_project::__private::Pin<&'pin mut (T)>,
@@ -31,17 +24,8 @@ const _: () = {
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
::pin_project::__private::Pin<&'pin (T)>,
@@ -50,14 +34,6 @@ const _: () = {
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
struct __TupleStructProjectionOwned<T, U>(
::pin_project::__private::PhantomData<T>,
diff --git a/tests/expand/naming/enum-all.expanded.rs b/tests/expand/naming/enum-all.expanded.rs
index 561bb89..21c1c59 100644
--- a/tests/expand/naming/enum-all.expanded.rs
+++ b/tests/expand/naming/enum-all.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum Proj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,9 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum ProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -61,6 +61,7 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(variant_size_differences)]
#[allow(clippy::large_enum_variant)]
@@ -80,7 +81,9 @@ enum ProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/naming/enum-mut.expanded.rs b/tests/expand/naming/enum-mut.expanded.rs
index 3489c6e..7324372 100644
--- a/tests/expand/naming/enum-mut.expanded.rs
+++ b/tests/expand/naming/enum-mut.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum Proj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,7 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/naming/enum-none.expanded.rs b/tests/expand/naming/enum-none.expanded.rs
index a33491e..3410001 100644
--- a/tests/expand/naming/enum-none.expanded.rs
+++ b/tests/expand/naming/enum-none.expanded.rs
@@ -17,7 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {}
diff --git a/tests/expand/naming/enum-own.expanded.rs b/tests/expand/naming/enum-own.expanded.rs
index 6ca558b..a63a874 100644
--- a/tests/expand/naming/enum-own.expanded.rs
+++ b/tests/expand/naming/enum-own.expanded.rs
@@ -17,6 +17,7 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(variant_size_differences)]
#[allow(clippy::large_enum_variant)]
@@ -36,7 +37,9 @@ enum ProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/naming/enum-ref.expanded.rs b/tests/expand/naming/enum-ref.expanded.rs
index 0dcb829..6197557 100644
--- a/tests/expand/naming/enum-ref.expanded.rs
+++ b/tests/expand/naming/enum-ref.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum ProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,7 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/naming/struct-all.expanded.rs b/tests/expand/naming/struct-all.expanded.rs
index 88e024c..54b63f5 100644
--- a/tests/expand/naming/struct-all.expanded.rs
+++ b/tests/expand/naming/struct-all.expanded.rs
@@ -13,9 +13,9 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
struct Proj<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -31,9 +31,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
struct ProjRef<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -49,6 +49,7 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
struct ProjOwn<T, U> {
pinned: ::pin_project::__private::PhantomData<T>,
@@ -62,7 +63,9 @@ struct ProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Struct<T, U> {
diff --git a/tests/expand/naming/struct-mut.expanded.rs b/tests/expand/naming/struct-mut.expanded.rs
index 1365b23..ee641d6 100644
--- a/tests/expand/naming/struct-mut.expanded.rs
+++ b/tests/expand/naming/struct-mut.expanded.rs
@@ -13,9 +13,9 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
struct Proj<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -31,20 +31,13 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/naming/struct-none.expanded.rs b/tests/expand/naming/struct-none.expanded.rs
index 70f04ef..794675a 100644
--- a/tests/expand/naming/struct-none.expanded.rs
+++ b/tests/expand/naming/struct-none.expanded.rs
@@ -13,20 +13,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/naming/struct-own.expanded.rs b/tests/expand/naming/struct-own.expanded.rs
index 899166f..2853838 100644
--- a/tests/expand/naming/struct-own.expanded.rs
+++ b/tests/expand/naming/struct-own.expanded.rs
@@ -13,6 +13,7 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
struct ProjOwn<T, U> {
pinned: ::pin_project::__private::PhantomData<T>,
@@ -26,20 +27,13 @@ struct ProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -47,17 +41,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/naming/struct-ref.expanded.rs b/tests/expand/naming/struct-ref.expanded.rs
index f636f10..baee324 100644
--- a/tests/expand/naming/struct-ref.expanded.rs
+++ b/tests/expand/naming/struct-ref.expanded.rs
@@ -13,9 +13,9 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
struct ProjRef<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -31,20 +31,13 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/naming/tuple_struct-all.expanded.rs b/tests/expand/naming/tuple_struct-all.expanded.rs
index e4032be..125d483 100644
--- a/tests/expand/naming/tuple_struct-all.expanded.rs
+++ b/tests/expand/naming/tuple_struct-all.expanded.rs
@@ -9,9 +9,9 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
struct Proj<'pin, T, U>(::pin_project::__private::Pin<&'pin mut (T)>, &'pin mut (U))
where
TupleStruct<T, U>: 'pin;
@@ -23,9 +23,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
struct ProjRef<'pin, T, U>(::pin_project::__private::Pin<&'pin (T)>, &'pin (U))
where
TupleStruct<T, U>: 'pin;
@@ -37,6 +37,7 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U);
#[allow(box_pointers)]
@@ -47,7 +48,9 @@ struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> TupleStruct<T, U> {
diff --git a/tests/expand/naming/tuple_struct-mut.expanded.rs b/tests/expand/naming/tuple_struct-mut.expanded.rs
index 076e4a0..f7daaff 100644
--- a/tests/expand/naming/tuple_struct-mut.expanded.rs
+++ b/tests/expand/naming/tuple_struct-mut.expanded.rs
@@ -9,9 +9,9 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
struct Proj<'pin, T, U>(::pin_project::__private::Pin<&'pin mut (T)>, &'pin mut (U))
where
TupleStruct<T, U>: 'pin;
@@ -23,20 +23,13 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/naming/tuple_struct-none.expanded.rs b/tests/expand/naming/tuple_struct-none.expanded.rs
index 1322d22..6a3dfbf 100644
--- a/tests/expand/naming/tuple_struct-none.expanded.rs
+++ b/tests/expand/naming/tuple_struct-none.expanded.rs
@@ -9,37 +9,21 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/naming/tuple_struct-own.expanded.rs b/tests/expand/naming/tuple_struct-own.expanded.rs
index eda8267..5f18045 100644
--- a/tests/expand/naming/tuple_struct-own.expanded.rs
+++ b/tests/expand/naming/tuple_struct-own.expanded.rs
@@ -9,6 +9,7 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U);
#[allow(box_pointers)]
@@ -19,37 +20,21 @@ struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/naming/tuple_struct-ref.expanded.rs b/tests/expand/naming/tuple_struct-ref.expanded.rs
index 3c2618f..d8d5008 100644
--- a/tests/expand/naming/tuple_struct-ref.expanded.rs
+++ b/tests/expand/naming/tuple_struct-ref.expanded.rs
@@ -9,9 +9,9 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
struct ProjRef<'pin, T, U>(::pin_project::__private::Pin<&'pin (T)>, &'pin (U))
where
TupleStruct<T, U>: 'pin;
@@ -23,20 +23,13 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
diff --git a/tests/expand/not_unpin/enum.expanded.rs b/tests/expand/not_unpin/enum.expanded.rs
index 6305b78..3414a10 100644
--- a/tests/expand/not_unpin/enum.expanded.rs
+++ b/tests/expand/not_unpin/enum.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,9 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -61,7 +61,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/not_unpin/struct.expanded.rs b/tests/expand/not_unpin/struct.expanded.rs
index 680fb03..b701af5 100644
--- a/tests/expand/not_unpin/struct.expanded.rs
+++ b/tests/expand/not_unpin/struct.expanded.rs
@@ -13,20 +13,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/not_unpin/tuple_struct.expanded.rs b/tests/expand/not_unpin/tuple_struct.expanded.rs
index 8bc6bbc..4b73483 100644
--- a/tests/expand/not_unpin/tuple_struct.expanded.rs
+++ b/tests/expand/not_unpin/tuple_struct.expanded.rs
@@ -9,37 +9,21 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/pinned_drop/enum.expanded.rs b/tests/expand/pinned_drop/enum.expanded.rs
index 6e6ed54..a968b72 100644
--- a/tests/expand/pinned_drop/enum.expanded.rs
+++ b/tests/expand/pinned_drop/enum.expanded.rs
@@ -18,9 +18,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -40,9 +40,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -62,7 +62,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/pinned_drop/struct.expanded.rs b/tests/expand/pinned_drop/struct.expanded.rs
index 10ca8c1..630389b 100644
--- a/tests/expand/pinned_drop/struct.expanded.rs
+++ b/tests/expand/pinned_drop/struct.expanded.rs
@@ -14,20 +14,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -35,17 +28,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/pinned_drop/tuple_struct.expanded.rs b/tests/expand/pinned_drop/tuple_struct.expanded.rs
index 506726c..f06f2ae 100644
--- a/tests/expand/pinned_drop/tuple_struct.expanded.rs
+++ b/tests/expand/pinned_drop/tuple_struct.expanded.rs
@@ -10,37 +10,21 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
diff --git a/tests/expand/project_replace/enum.expanded.rs b/tests/expand/project_replace/enum.expanded.rs
index 304e0a7..27ff08a 100644
--- a/tests/expand/project_replace/enum.expanded.rs
+++ b/tests/expand/project_replace/enum.expanded.rs
@@ -17,6 +17,7 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(variant_size_differences)]
#[allow(clippy::large_enum_variant)]
@@ -36,7 +37,9 @@ enum EnumProjOwn<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/project_replace/struct.expanded.rs b/tests/expand/project_replace/struct.expanded.rs
index d3ed9e4..bad4984 100644
--- a/tests/expand/project_replace/struct.expanded.rs
+++ b/tests/expand/project_replace/struct.expanded.rs
@@ -13,20 +13,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -52,14 +36,6 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin (T)>,
unpinned: &'pin (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
struct __StructProjectionOwned<T, U> {
pinned: ::pin_project::__private::PhantomData<T>,
diff --git a/tests/expand/project_replace/tuple_struct.expanded.rs b/tests/expand/project_replace/tuple_struct.expanded.rs
index 91077f3..bc5a6e5 100644
--- a/tests/expand/project_replace/tuple_struct.expanded.rs
+++ b/tests/expand/project_replace/tuple_struct.expanded.rs
@@ -9,51 +9,27 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
struct __TupleStructProjectionOwned<T, U>(::pin_project::__private::PhantomData<T>, U);
impl<T, U> TupleStruct<T, U> {
diff --git a/tests/expand/pub/enum.expanded.rs b/tests/expand/pub/enum.expanded.rs
index 5026bad..f9bd9fe 100644
--- a/tests/expand/pub/enum.expanded.rs
+++ b/tests/expand/pub/enum.expanded.rs
@@ -17,9 +17,9 @@ pub enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
pub(crate) enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,9 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
pub(crate) enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -61,7 +61,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/pub/struct.expanded.rs b/tests/expand/pub/struct.expanded.rs
index 7e6b975..8abd9a1 100644
--- a/tests/expand/pub/struct.expanded.rs
+++ b/tests/expand/pub/struct.expanded.rs
@@ -13,20 +13,13 @@ pub struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
pub(crate) struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pub pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
pub unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
pub(crate) struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/pub/tuple_struct.expanded.rs b/tests/expand/pub/tuple_struct.expanded.rs
index 48355e3..2641d16 100644
--- a/tests/expand/pub/tuple_struct.expanded.rs
+++ b/tests/expand/pub/tuple_struct.expanded.rs
@@ -9,37 +9,21 @@ pub struct TupleStruct<T, U>(#[pin] pub T, pub U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
pub(crate) struct __TupleStructProjection<'pin, T, U>(
pub ::pin_project::__private::Pin<&'pin mut (T)>,
pub &'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
pub(crate) struct __TupleStructProjectionRef<'pin, T, U>(
pub ::pin_project::__private::Pin<&'pin (T)>,
pub &'pin (U),
diff --git a/tests/expand/unsafe_unpin/enum.expanded.rs b/tests/expand/unsafe_unpin/enum.expanded.rs
index df962d0..1c51df0 100644
--- a/tests/expand/unsafe_unpin/enum.expanded.rs
+++ b/tests/expand/unsafe_unpin/enum.expanded.rs
@@ -17,9 +17,9 @@ enum Enum<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProj<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -39,9 +39,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
-#[allow(clippy::type_repetition_in_bounds)]
enum EnumProjRef<'pin, T, U>
where
Enum<T, U>: 'pin,
@@ -61,7 +61,9 @@ where
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
impl<T, U> Enum<T, U> {
diff --git a/tests/expand/unsafe_unpin/struct.expanded.rs b/tests/expand/unsafe_unpin/struct.expanded.rs
index 76f4e52..67ede39 100644
--- a/tests/expand/unsafe_unpin/struct.expanded.rs
+++ b/tests/expand/unsafe_unpin/struct.expanded.rs
@@ -13,20 +13,13 @@ struct Struct<T, U> {
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjection<'pin, T, U>
where
Struct<T, U>: 'pin,
@@ -34,17 +27,8 @@ const _: () = {
pinned: ::pin_project::__private::Pin<&'pin mut (T)>,
unpinned: &'pin mut (U),
}
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __StructProjectionRef<'pin, T, U>
where
Struct<T, U>: 'pin,
diff --git a/tests/expand/unsafe_unpin/tuple_struct.expanded.rs b/tests/expand/unsafe_unpin/tuple_struct.expanded.rs
index a0a52a8..512f139 100644
--- a/tests/expand/unsafe_unpin/tuple_struct.expanded.rs
+++ b/tests/expand/unsafe_unpin/tuple_struct.expanded.rs
@@ -9,37 +9,21 @@ struct TupleStruct<T, U>(#[pin] T, U);
#[allow(clippy::unknown_clippy_lints)]
#[allow(clippy::pattern_type_mismatch)]
#[allow(clippy::redundant_pub_crate)]
+#[allow(clippy::type_repetition_in_bounds)]
#[allow(clippy::semicolon_if_nothing_returned)]
+#[allow(clippy::use_self)]
#[allow(clippy::used_underscore_binding)]
const _: () = {
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::mut_mut)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjection<'pin, T, U>(
::pin_project::__private::Pin<&'pin mut (T)>,
&'pin mut (U),
)
where
TupleStruct<T, U>: 'pin;
- #[allow(box_pointers)]
- #[allow(deprecated)]
- #[allow(explicit_outlives_requirements)]
- #[allow(single_use_lifetimes)]
- #[allow(unreachable_pub)]
- #[allow(clippy::unknown_clippy_lints)]
- #[allow(clippy::pattern_type_mismatch)]
- #[allow(clippy::redundant_pub_crate)]
#[allow(dead_code)]
#[allow(clippy::ref_option_ref)]
- #[allow(clippy::type_repetition_in_bounds)]
struct __TupleStructProjectionRef<'pin, T, U>(
::pin_project::__private::Pin<&'pin (T)>,
&'pin (U),