Skip to content

proc-macro derive panicked #446

Answered by juhaku
Erisli asked this question in Q&A
Jan 20, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I guess this error is result of this line here

    pub LastResult: Option<Result<(), CustomError>>,

Currently utoipa has one limitation in types ans that is it does not support tuple types. And here I guess the utoipa mistakenly thinks that () is tuple type even it is unit type.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Erisli
Comment options

@juhaku
Comment options

Answer selected by Erisli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants