Invalid suggestion for missing lifetime specifier when using const generics #95616
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=de3e0cab5a0a3a72f2840b824066f6f1
The current output is:
Ideally the output should look like:
This issue is present with both stable (1.59) and nightly:
1.61.0-nightly -(2022-04-02 76d770ac21d9521db6a9)
The text was updated successfully, but these errors were encountered: