18 lines
613 B
Plaintext
18 lines
613 B
Plaintext
error[E0061]: this function takes 0 arguments but 1 argument was supplied
|
|
--> tests/ui/pinned_drop/call-drop-inner.rs:15:9
|
|
|
|
|
15 | __drop_inner(__self);
|
|
| ^^^^^^^^^^^^ ------ unexpected argument of type `Pin<&mut Struct>`
|
|
|
|
|
note: function defined here
|
|
--> tests/ui/pinned_drop/call-drop-inner.rs:12:1
|
|
|
|
|
12 | #[pinned_drop]
|
|
| ^^^^^^^^^^^^^^
|
|
= note: this error originates in the attribute macro `pinned_drop` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
help: remove the extra argument
|
|
|
|
|
15 - __drop_inner(__self);
|
|
15 + __drop_inner();
|
|
|
|