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

refactor(error): Generalize how we report suggestions #4383

Merged
merged 7 commits into from
Oct 13, 2022

Conversation

epage
Copy link
Member

@epage epage commented Oct 13, 2022

While ContextKind is useful for general information, it can't handle more nuanced suggestions, so we are falling back to a more general approach to suggestions.

This is a follow up to #4380 to make it API neutral.

Technically, there is a slight compatibility change here that only affects people who are doing custom formatted errors or manually generating errors.

@epage epage changed the title refavtor(error): Generalize how we report suggestions refactor(error): Generalize how we report suggestions Oct 13, 2022
@epage epage merged commit 6422046 into clap-rs:master Oct 13, 2022
@epage epage deleted the error branch October 13, 2022 18:31
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.

1 participant