Skip to content

Commit

Permalink
Update ui test output to nightly-2024-02-03
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 3, 2024
1 parent f16d4d3 commit 7f27ff4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tests/ui/pin_project/add-pinned-field.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/add-pinned-field.rs:23:16
|
23 | is_unpin::<Foo>(); //~ ERROR E0277
| ^^^ within `__Foo<'_>`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^ within `__Foo<'_>`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Foo: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand Down Expand Up @@ -30,7 +30,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/add-pinned-field.rs:24:16
|
24 | is_unpin::<Bar>(); //~ ERROR E0277
| ^^^ within `__Bar<'_>`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^ within `__Bar<'_>`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Bar: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/pin_project/overlapping_unpin_struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/overlapping_unpin_struct.rs:20:16
|
20 | is_unpin::<S<PhantomPinned>>(); //~ ERROR E0277
| ^^^^^^^^^^^^^^^^ within `_::__S<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^^^^^^^^^^^^^^ within `_::__S<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `S<PhantomPinned>: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand Down
8 changes: 4 additions & 4 deletions tests/ui/pin_project/remove-attr-from-struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/remove-attr-from-struct.rs:37:16
|
37 | is_unpin::<A>(); //~ ERROR E0277
| ^ within `A`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^ within `A`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `A: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand All @@ -41,7 +41,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/remove-attr-from-struct.rs:38:16
|
38 | is_unpin::<B>(); //~ ERROR E0277
| ^ within `B`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^ within `B`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `B: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand All @@ -60,7 +60,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/remove-attr-from-struct.rs:42:22
|
42 | let _ = Pin::new(&mut x).project(); //~ ERROR E0277,E0599
| -------- ^^^^^^ within `A`, the trait `Unpin` is not implemented for `PhantomPinned`
| -------- ^^^^^^ within `A`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `A: Unpin`
| |
| required by a bound introduced by this call
|
Expand Down Expand Up @@ -90,7 +90,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/pin_project/remove-attr-from-struct.rs:45:22
|
45 | let _ = Pin::new(&mut x).project(); //~ ERROR E0277,E0599
| -------- ^^^^^^ within `B`, the trait `Unpin` is not implemented for `PhantomPinned`
| -------- ^^^^^^ within `B`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `B: Unpin`
| |
| required by a bound introduced by this call
|
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/pinned_drop/conditional-drop-impl.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ error[E0277]: `T` cannot be unpinned
--> tests/ui/pinned_drop/conditional-drop-impl.rs:18:15
|
18 | #[pin_project(PinnedDrop)] //~ ERROR E0277
| ^^^^^^^^^^ the trait `Unpin` is not implemented for `T`
| ^^^^^^^^^^ the trait `Unpin` is not implemented for `T`, which is required by `PinnedDropImpl<T>: PinnedDrop`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/unstable-features/trivial_bounds-feature-gate.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/unstable-features/trivial_bounds-feature-gate.rs:18:28
|
18 | impl Unpin for B where Wrapper<PhantomPinned>: Unpin {} //~ ERROR E0277
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `phantom_pinned::Wrapper<PhantomPinned>: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand All @@ -29,7 +29,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/unstable-features/trivial_bounds-feature-gate.rs:36:28
|
36 | impl Unpin for A where Inner: Unpin {} //~ ERROR E0277
| ^^^^^^^^^^^^ within `Inner`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^^^^^^^^^^ within `Inner`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Inner: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand All @@ -45,7 +45,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
--> tests/ui/unstable-features/trivial_bounds-feature-gate.rs:44:28
|
44 | impl Unpin for B where Wrapper<Inner>: Unpin {} //~ ERROR E0277
| ^^^^^^^^^^^^^^^^^^^^^ within `Inner`, the trait `Unpin` is not implemented for `PhantomPinned`
| ^^^^^^^^^^^^^^^^^^^^^ within `Inner`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `inner::Wrapper<Inner>: Unpin`
|
= note: consider using the `pin!` macro
consider using `Box::pin` if you need to access the pinned value outside of the current scope
Expand Down

0 comments on commit 7f27ff4

Please sign in to comment.