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