aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/pinned_drop
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-09 10:36:36 -0700
committerJoel Galenson <jgalenson@google.com>2021-08-09 10:36:36 -0700
commitc1569cc62c4d1c5daf604922102c09fed8a91eb4 (patch)
tree4ff684b6890583131074a1033210f0ac7abb1d0d /tests/expand/pinned_drop
parentb845c5fd84f50f28cd5cce350eac405562744e3b (diff)
downloadpin-project-c1569cc62c4d1c5daf604922102c09fed8a91eb4.tar.gz
Upgrade rust/crates/pin-project to 1.0.8android-s-beta-5android-s-beta-5
Test: make Change-Id: I5d34b05966fb665ac1d6a09229743a24d6927742
Diffstat (limited to 'tests/expand/pinned_drop')
-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
3 files changed, 8 insertions, 38 deletions
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),