diff options
Diffstat (limited to 'tests/expand/unsafe_unpin')
-rw-r--r-- | tests/expand/unsafe_unpin/enum.expanded.rs | 1 | ||||
-rw-r--r-- | tests/expand/unsafe_unpin/struct.expanded.rs | 1 | ||||
-rw-r--r-- | tests/expand/unsafe_unpin/tuple_struct.expanded.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/expand/unsafe_unpin/enum.expanded.rs b/tests/expand/unsafe_unpin/enum.expanded.rs index faf87fc..df962d0 100644 --- a/tests/expand/unsafe_unpin/enum.expanded.rs +++ b/tests/expand/unsafe_unpin/enum.expanded.rs @@ -61,6 +61,7 @@ where #[allow(clippy::unknown_clippy_lints)] #[allow(clippy::pattern_type_mismatch)] #[allow(clippy::redundant_pub_crate)] +#[allow(clippy::semicolon_if_nothing_returned)] #[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 c01668e..4066d49 100644 --- a/tests/expand/unsafe_unpin/struct.expanded.rs +++ b/tests/expand/unsafe_unpin/struct.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::semicolon_if_nothing_returned)] #[allow(clippy::used_underscore_binding)] const _: () = { #[allow(box_pointers)] diff --git a/tests/expand/unsafe_unpin/tuple_struct.expanded.rs b/tests/expand/unsafe_unpin/tuple_struct.expanded.rs index 3c9afb8..59a40da 100644 --- a/tests/expand/unsafe_unpin/tuple_struct.expanded.rs +++ b/tests/expand/unsafe_unpin/tuple_struct.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::semicolon_if_nothing_returned)] #[allow(clippy::used_underscore_binding)] const _: () = { #[allow(box_pointers)] |