Skip to content

Commit

Permalink
Update ui test output to nightly-2024-01-09
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 9, 2024
1 parent 769bb9e commit 8c6cfbf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/ui/pin_project/remove-attr-from-struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ note: required because it appears within the type `A`
|
12 | struct A {
| ^
note: required by a bound in `Pin::<P>::new`
note: required by a bound in `Pin::<Ptr>::new`
--> $RUST/core/src/pin.rs
|
| impl<P: Deref<Target: Unpin>> Pin<P> {
| ^^^^^ required by this bound in `Pin::<P>::new`
| impl<Ptr: Deref<Target: Unpin>> Pin<Ptr> {
| ^^^^^ required by this bound in `Pin::<Ptr>::new`
...
| pub const fn new(pointer: P) -> Pin<P> {
| pub const fn new(pointer: Ptr) -> Pin<Ptr> {
| --- required by a bound in this associated function

error[E0599]: no method named `project` found for struct `Pin<&mut A>` in the current scope
Expand All @@ -101,13 +101,13 @@ note: required because it appears within the type `B`
|
19 | struct B {
| ^
note: required by a bound in `Pin::<P>::new`
note: required by a bound in `Pin::<Ptr>::new`
--> $RUST/core/src/pin.rs
|
| impl<P: Deref<Target: Unpin>> Pin<P> {
| ^^^^^ required by this bound in `Pin::<P>::new`
| impl<Ptr: Deref<Target: Unpin>> Pin<Ptr> {
| ^^^^^ required by this bound in `Pin::<Ptr>::new`
...
| pub const fn new(pointer: P) -> Pin<P> {
| pub const fn new(pointer: Ptr) -> Pin<Ptr> {
| --- required by a bound in this associated function

error[E0599]: no method named `project` found for struct `Pin<&mut B>` in the current scope
Expand Down

0 comments on commit 8c6cfbf

Please sign in to comment.