We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
derive(Error)
#[error]
use thiserror::Error; #[derive(Error, Debug)] pub enum ArgError { #[error("".yellow)] InvalidUrl, }
causes the compiler to hang.
Specifically, it seems like this while loop https://github.com/dtolnay/thiserror/blob/master/impl/src/fmt.rs#L218-L229 is infinite if the input is not as expected; the if statement is skipped and input never changes, so the if statement is forever skipped.
while
if
input
The text was updated successfully, but these errors were encountered:
Fixed in 2.0.2.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
causes the compiler to hang.
Specifically, it seems like this
while
loop https://github.com/dtolnay/thiserror/blob/master/impl/src/fmt.rs#L218-L229 is infinite if the input is not as expected; theif
statement is skipped andinput
never changes, so theif
statement is forever skipped.The text was updated successfully, but these errors were encountered: