Skip to content

Commit b66e5d9

Browse files
committed
tests: Update ui test output to nightly-2026-02-07
1 parent 3c70784 commit b66e5d9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/ui/pin_project/add-pinned-field.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ note: required because it appears within the type `__Foo<'_>`
1212
10 | struct Foo {
1313
| ^^^
1414
note: required for `Foo` to implement `Unpin`
15-
--> tests/ui/pin_project/add-pinned-field.rs:8:1
15+
--> tests/ui/pin_project/add-pinned-field.rs:10:8
1616
|
1717
8 | #[pin_project]
18-
| ^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
18+
| -------------- type parameter would need to implement `Unpin`
1919
9 | #[add_pinned_field]
2020
10 | struct Foo {
2121
| ^^^
22+
= help: consider manually implementing `Unpin` to avoid undesired bounds
2223
note: required by a bound in `is_unpin`
2324
--> tests/ui/pin_project/add-pinned-field.rs:6:16
2425
|
2526
6 | fn is_unpin<T: Unpin>() {}
2627
| ^^^^^ required by this bound in `is_unpin`
27-
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
2828

2929
error[E0277]: `PhantomPinned` cannot be unpinned
3030
--> tests/ui/pin_project/add-pinned-field.rs:24:16
@@ -40,15 +40,15 @@ note: required because it appears within the type `__Bar<'_>`
4040
17 | struct Bar {
4141
| ^^^
4242
note: required for `Bar` to implement `Unpin`
43-
--> tests/ui/pin_project/add-pinned-field.rs:16:1
43+
--> tests/ui/pin_project/add-pinned-field.rs:17:8
4444
|
4545
16 | #[pin_project]
46-
| ^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
46+
| -------------- type parameter would need to implement `Unpin`
4747
17 | struct Bar {
4848
| ^^^
49+
= help: consider manually implementing `Unpin` to avoid undesired bounds
4950
note: required by a bound in `is_unpin`
5051
--> tests/ui/pin_project/add-pinned-field.rs:6:16
5152
|
5253
6 | fn is_unpin<T: Unpin>() {}
5354
| ^^^^^ required by this bound in `is_unpin`
54-
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/pin_project/overlapping_unpin_struct.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ note: required because it appears within the type `_::__S<'_, PhantomPinned>`
1212
8 | struct S<T> {
1313
| ^
1414
note: required for `S<PhantomPinned>` to implement `Unpin`
15-
--> tests/ui/pin_project/overlapping_unpin_struct.rs:7:1
15+
--> tests/ui/pin_project/overlapping_unpin_struct.rs:8:8
1616
|
1717
7 | #[pin_project]
18-
| ^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
18+
| -------------- type parameter would need to implement `Unpin`
1919
8 | struct S<T> {
2020
| ^^^^
21+
= help: consider manually implementing `Unpin` to avoid undesired bounds
2122
note: required by a bound in `is_unpin`
2223
--> tests/ui/pin_project/overlapping_unpin_struct.rs:17:16
2324
|
2425
17 | fn is_unpin<T: Unpin>() {}
2526
| ^^^^^ required by this bound in `is_unpin`
26-
= note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)