Unterminated char literal complains about lifetimes #101278
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code
the current output is
It should instead recognize that a char literal was intended:
https://internals.rust-lang.org/t/error-message-for-vec-1-2-3/17309
The text was updated successfully, but these errors were encountered: