Review Diesel compile time error message #3972
weiznich
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Diesel is known for sometimes generating sub-optimal compile time error messages. With the upcoming stabilization of the
#[diagnostic]
attribute namespace and the#[diagnostic::on_unimplemented]
attribute it's now the time to review such bad error messages and see where:#[diagnostic::on_unimplemented]
to improve the error message#[diagnostic]
namespaceThis post specifically asks for code examples that produce a bad error message. Ideally that would include a self contained example and an explanation which information would help you there in the compiler error message.
Beta Was this translation helpful? Give feedback.
All reactions