Skip to content

Commit 27ee733

Browse files
committed
tests: Update ui test output to nightly-2025-02-16
1 parent 7a435d3 commit 27ee733

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

tests/ui/pin_project/project_replace_unsized.stderr

+6-12
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,11 @@ note: required because it appears within the type `Struct<T>`
7777
|
7878
6 | struct Struct<T: ?Sized> {
7979
| ^^^^^^
80-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
80+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
8181
--> src/lib.rs
8282
|
83-
| impl<T> UnsafeOverwriteGuard<T> {
84-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
85-
| #[doc(hidden)]
86-
| pub unsafe fn new(target: *mut T, value: T) -> Self {
87-
| --- required by a bound in this associated function
83+
| pub struct UnsafeOverwriteGuard<T> {
84+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
8885
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
8986
help: consider removing the `?Sized` bound to make the type parameter `Sized`
9087
|
@@ -150,14 +147,11 @@ note: required because it appears within the type `TupleStruct<T>`
150147
|
151148
11 | struct TupleStruct<T: ?Sized>(T);
152149
| ^^^^^^^^^^^
153-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
150+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
154151
--> src/lib.rs
155152
|
156-
| impl<T> UnsafeOverwriteGuard<T> {
157-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
158-
| #[doc(hidden)]
159-
| pub unsafe fn new(target: *mut T, value: T) -> Self {
160-
| --- required by a bound in this associated function
153+
| pub struct UnsafeOverwriteGuard<T> {
154+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
161155
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
162156
help: consider removing the `?Sized` bound to make the type parameter `Sized`
163157
|

tests/ui/pin_project/project_replace_unsized_fn_params.stderr

+6-12
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,11 @@ note: required because it appears within the type `Struct<T>`
5353
|
5454
9 | struct Struct<T: ?Sized> {
5555
| ^^^^^^
56-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
56+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
5757
--> src/lib.rs
5858
|
59-
| impl<T> UnsafeOverwriteGuard<T> {
60-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
61-
| #[doc(hidden)]
62-
| pub unsafe fn new(target: *mut T, value: T) -> Self {
63-
| --- required by a bound in this associated function
59+
| pub struct UnsafeOverwriteGuard<T> {
60+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
6461
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
6562
help: consider removing the `?Sized` bound to make the type parameter `Sized`
6663
|
@@ -102,14 +99,11 @@ note: required because it appears within the type `TupleStruct<T>`
10299
|
103100
14 | struct TupleStruct<T: ?Sized>(T);
104101
| ^^^^^^^^^^^
105-
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
102+
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
106103
--> src/lib.rs
107104
|
108-
| impl<T> UnsafeOverwriteGuard<T> {
109-
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
110-
| #[doc(hidden)]
111-
| pub unsafe fn new(target: *mut T, value: T) -> Self {
112-
| --- required by a bound in this associated function
105+
| pub struct UnsafeOverwriteGuard<T> {
106+
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
113107
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
114108
help: consider removing the `?Sized` bound to make the type parameter `Sized`
115109
|

0 commit comments

Comments
 (0)