Cannot use _
for const arguments
#70754
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-inference
Area: Type inference
A-parser
Area: The lexing & parsing of Rust source code to an AST
A-type-system
Area: Type system
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
I tried this code:
I only half-expected the code to compile, given where const generics is at (is inference of const generic arguments even intended to eventually work?), but the resulting error was pretty jarring:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: