murar8 / axum_typed_multipart

Type safe multipart/form-data handling for axum.
84 stars 14 forks source link

Error in macro TryFromMultipart in axum@0.7.1 #61

Closed krishnaTORQUE closed 11 months ago

krishnaTORQUE commented 11 months ago

Error in macro TryFromMultipart in axum@0.7.1

4 | #[derive(TryFromMultipart)]
  |          ^^^^^^^^^^^^^^^^
  |          |
  |          expected `axum::extract::multipart::Multipart`, found `Multipart`
  |          help: change the parameter type to match the trait: `&'life0 mut axum::extract::multipart::Multipart`
  |
  = note: expected signature `fn(&'life0 mut axum::extract::multipart::Multipart) -> Pin<_>`
             found signature `fn(&'life0 mut Multipart) -> Pin<_>`
  = note: this error originates in the derive macro `TryFromMultipart` (in Nightly builds, run with -Z macro-backtrace for more info)

libunwind: malformed __unwind_info at 0x1898DECA8 bad second level page
murar8 commented 11 months ago

Duplicate of #60.