Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve invalid_value lint message #63483
The lint now explains which type is involved and why it cannot be initialized this way. It also points at the innermost struct/enum field that has an offending type, if any.
See erlepereira/x11-rs#99 (comment) for how this helps in some real-world code hitting this lint.