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

Most of the generated code should carry span info about its origins #247

Closed
CreepySkeleton opened this issue Aug 31, 2019 · 0 comments · Fixed by #252
Closed

Most of the generated code should carry span info about its origins #247

CreepySkeleton opened this issue Aug 31, 2019 · 0 comments · Fixed by #252
Labels
enhancement We would love to have this feature! Feel free to supply a PR

Comments

@CreepySkeleton
Copy link
Collaborator

error[E0277]: the trait bound `u32: std::convert::From<&str>` is not satisfied

  --> tests/skip.rs:98:14

   |
98 |     #[derive(StructOpt, Debug, PartialEq)]
   |              ^^^^^^^^^ the trait `std::convert::From<&str>` is not implemented for `u32`

   = help: the following implementations were found:

             <u32 as std::convert::From<bool>>
             <u32 as std::convert::From<char>>
             <u32 as std::convert::From<std::net::Ipv4Addr>>
             <u32 as std::convert::From<std::num::NonZeroU32>>

           and 2 others

   = note: required by `std::convert::From::from`

Errors like this should point to the field

@TeXitoi TeXitoi added the enhancement We would love to have this feature! Feel free to supply a PR label Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement We would love to have this feature! Feel free to supply a PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants