Cannot find impl of trait with literal &'static str
const parameter
#66596
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-const_generics
`#![feature(const_generics)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code ran in the latest nightly(2019-11-19) in the playground does not compile:
And it prints this error message
The text was updated successfully, but these errors were encountered: