Skip to content
New issue

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

Support format arguments capture #66

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Support format arguments capture #66

merged 2 commits into from
Jan 19, 2022

Conversation

x-hgg-x
Copy link
Contributor

@x-hgg-x x-hgg-x commented Jan 14, 2022

Closes #64.

Based on dtolnay/anyhow#180, dtolnay/anyhow#184 and dtolnay/anyhow#185, with the fixes from dtolnay/anyhow#183 and dtolnay/anyhow#187.

Note: like for anyhow 1.0.46, this is potentially a breaking change: the macro eyre! no more accepts a literal parameter other than a string literal as the first parameter. The workaround is to wrap the parameter with parentheses or curly braces.

@yaahc yaahc merged commit 7c7155f into eyre-rs:master Jan 19, 2022
@yaahc
Copy link
Collaborator

yaahc commented Jan 19, 2022

Thank you for this! I'll cut a release with it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for format args capture
2 participants