Better error messages for the nullary-enum-variant-versus-variable binding problem. #7807
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
The problem is, of course, as follows:
or:
We should be able to emit a hint that says something like
Maybe you forgot to import
Carol?
.The text was updated successfully, but these errors were encountered: