-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Compiler fails to report len for static A: [T; _] #135010
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsF-generic_arg_inferUsing `_` as a const argument: #![feature(generic_arg_infer)]`Using `_` as a const argument: #![feature(generic_arg_infer)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsF-generic_arg_inferUsing `_` as a const argument: #![feature(generic_arg_infer)]`Using `_` as a const argument: #![feature(generic_arg_infer)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Current output
Desired output
Rationale and extra context
rationale: @BoxyUwU expected it to do so.
Other cases
We can also get this:
Rust Version
Anything else?
No response