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
Awesome library, i like it!
I found some small problems during use, in some cases, it will be panic. The following is an example:
#[derive(Display)] #[display(fmt = "{_0}")] enum NodeType { Base(&'static str), Main(&'static str), N1(&'static str), N2(&'static str), N3(&'static str), N4(&'static str), }
Here is the compile error result:
error: proc-macro derive panicked --> src/main.rs:93:10 | 93 | #[derive(Display)] | ^^^^^^^ | = help: message: called `Result::unwrap()` on an `Err` value: ParseError { line: 1, column: 2, offset: 1, expected: {"}", "[0-9]", ":"} }
I can't find the cause of the problem from the message.
The text was updated successfully, but these errors were encountered:
@ilslv I guess this is not the case anymore on latest master, but maybe you could add tests covering that, just to be sure?
master
Sorry, something went wrong.
@tyranron actually this case doesn't work on master, but for a different reason: we haven't decided yet on how to implement affix #142
ilslv
No branches or pull requests
Awesome library, i like it!
I found some small problems during use, in some cases, it will be panic. The following is an example:
Here is the compile error result:
I can't find the cause of the problem from the message.
The text was updated successfully, but these errors were encountered: