Bogus error when using ..
in struct expr with all fields present, in a const ("error[E0016]: blocks in constants are limited to items and tail expressions")
#39161
Labels
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
X1
andx2
are allowed, but notX3
.The text was updated successfully, but these errors were encountered: