aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/multifields/struct.expanded.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-11 15:12:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-11 15:12:13 +0000
commite43f58f322631f588c014f497d29aac986311335 (patch)
tree4ff684b6890583131074a1033210f0ac7abb1d0d /tests/expand/multifields/struct.expanded.rs
parenta5c0a13309164da22025014778cf4d794aec96a6 (diff)
parent5ca84867572d2f96230b8450e77205925f9a1848 (diff)
downloadpin-project-e43f58f322631f588c014f497d29aac986311335.tar.gz
Upgrade rust/crates/pin-project to 1.0.8 am: c1569cc62c am: 02a74e9451 am: 854e9fcb8c am: 5ca8486757
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1791108 Change-Id: Ic60b19fff1caa373f70662267f680ba63e0fd2bc
Diffstat (limited to 'tests/expand/multifields/struct.expanded.rs')
-rw-r--r--tests/expand/multifields/struct.expanded.rs28
1 files changed, 2 insertions, 26 deletions
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>,