2023-10-22 05:37:36 -05:00
|
|
|
error[E0425]: cannot find value `N` in this scope
|
|
|
|
--> $DIR/issue-116186.rs:4:28
|
|
|
|
|
|
|
|
|
LL | fn something(path: [usize; N]) -> impl Clone {
|
|
|
|
| ^ not found in this scope
|
|
|
|
|
|
|
|
|
help: you might be missing a const parameter
|
|
|
|
|
|
|
|
|
LL | fn something<const N: /* Type */>(path: [usize; N]) -> impl Clone {
|
|
|
|
| +++++++++++++++++++++
|
|
|
|
|
2024-09-20 19:16:49 -05:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-22 05:37:36 -05:00
|
|
|
|
2024-09-20 19:16:49 -05:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|