1 error: constant expression depends on a generic parameter
2 --> $DIR/generic-function-call-in-array-length.rs:9:29
4 LL | fn bar<const N: usize>() -> [u32; foo(N)] {
7 = note: this may fail depending on what value the parameter takes
9 error: aborting due to previous error