Skip to content

Commit

Permalink
tests: Update ui test output to nightly-2025-02-16
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 16, 2025
1 parent 7a435d3 commit 27ee733
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
18 changes: 6 additions & 12 deletions tests/ui/pin_project/project_replace_unsized.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,11 @@ note: required because it appears within the type `Struct<T>`
|
6 | struct Struct<T: ?Sized> {
| ^^^^^^
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
--> src/lib.rs
|
| impl<T> UnsafeOverwriteGuard<T> {
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| #[doc(hidden)]
| pub unsafe fn new(target: *mut T, value: T) -> Self {
| --- required by a bound in this associated function
| pub struct UnsafeOverwriteGuard<T> {
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
Expand Down Expand Up @@ -150,14 +147,11 @@ note: required because it appears within the type `TupleStruct<T>`
|
11 | struct TupleStruct<T: ?Sized>(T);
| ^^^^^^^^^^^
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
--> src/lib.rs
|
| impl<T> UnsafeOverwriteGuard<T> {
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| #[doc(hidden)]
| pub unsafe fn new(target: *mut T, value: T) -> Self {
| --- required by a bound in this associated function
| pub struct UnsafeOverwriteGuard<T> {
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
Expand Down
18 changes: 6 additions & 12 deletions tests/ui/pin_project/project_replace_unsized_fn_params.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ note: required because it appears within the type `Struct<T>`
|
9 | struct Struct<T: ?Sized> {
| ^^^^^^
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
--> src/lib.rs
|
| impl<T> UnsafeOverwriteGuard<T> {
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| #[doc(hidden)]
| pub unsafe fn new(target: *mut T, value: T) -> Self {
| --- required by a bound in this associated function
| pub struct UnsafeOverwriteGuard<T> {
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
Expand Down Expand Up @@ -102,14 +99,11 @@ note: required because it appears within the type `TupleStruct<T>`
|
14 | struct TupleStruct<T: ?Sized>(T);
| ^^^^^^^^^^^
note: required by a bound in `UnsafeOverwriteGuard::<T>::new`
note: required by an implicit `Sized` bound in `UnsafeOverwriteGuard`
--> src/lib.rs
|
| impl<T> UnsafeOverwriteGuard<T> {
| ^ required by this bound in `UnsafeOverwriteGuard::<T>::new`
| #[doc(hidden)]
| pub unsafe fn new(target: *mut T, value: T) -> Self {
| --- required by a bound in this associated function
| pub struct UnsafeOverwriteGuard<T> {
| ^ required by the implicit `Sized` requirement on this type parameter in `UnsafeOverwriteGuard`
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
Expand Down

0 comments on commit 27ee733

Please sign in to comment.