1The type of a const parameter references other generic parameters.23Erroneous code example:45```compile_fail,E07706fn foo<T, const N: T>() {} // error!7```89To fix this error, use a concrete type for the const parameter:1011```12fn foo<T, const N: usize>() {}13```
Findings
✓ No findings reported for this file.