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

Improve "unknown rename rule for rename_all" error with list of possible values #1923

Closed
Mingun opened this issue Nov 16, 2020 · 2 comments · Fixed by #1961
Closed

Improve "unknown rename rule for rename_all" error with list of possible values #1923

Mingun opened this issue Nov 16, 2020 · 2 comments · Fixed by #1961

Comments

@Mingun
Copy link
Contributor

Mingun commented Nov 16, 2020

Currently, the error not very helpful if you use the wrong rule by mistake, for example "CamelCase" instead of "PascalCase" or "camelCase"

error: unknown rename rule for #[serde(rename_all = "CamelCase")]
 --> term-config-editor/src/main.rs:8:22
  |
8 | #[serde(rename_all = "CamelCase")]
  |                      ^^^^^^^^^^^

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

Successfully merging a pull request may close this issue.

2 participants