inferred repeat expression length unnecessarily needs Copy
#110443
Labels
C-bug
Category: This is a bug.
F-generic_arg_infer
Using `_` as a const argument: #![feature(generic_arg_infer)]`
results in the following error:
we should be able to solve that by using marker traits (potentially waiting until they're stable)
and then change hir typeck to require
RepeatExprMayCopyValue
for the array instead of optionally requiringCopy
for the value.The text was updated successfully, but these errors were encountered: