about summary refs log tree commit diff
path: root/tests/ui/consts/issue-116186.stderr
blob: 46931f79dd0cbe8bf772d85c03d8aab85b9fd833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 {
   |             +++++++++++++++++++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.