Skip to content

Commit 7441d79

Browse files
committed
tests: bless for latest nightly
1 parent f015921 commit 7441d79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ui/compile-fail/pinned_drop/wrong_receiver.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ error[E0053]: method `drop` has an incompatible type for trait
44
8 | fn drop(&mut self) {}
55
| ^^^^^^^^^ expected `Pin<&mut Foo>`, found `&mut Foo`
66
|
7-
= note: expected signature `fn(Pin<&mut Foo>, pin_init::__internal::OnlyCallFromDrop)`
8-
found signature `fn(&mut Foo, pin_init::__internal::OnlyCallFromDrop)`
7+
= note: expected signature `fn(Pin<&mut Foo>, OnlyCallFromDrop)`
8+
found signature `fn(&mut Foo, OnlyCallFromDrop)`
99
help: change the self-receiver type to match the trait
1010
|
1111
8 - fn drop(&mut self) {}

0 commit comments

Comments
 (0)