1 error: generic parameters must not be used inside of non-trivial constant values
2 --> $DIR/issue-62220.rs:8:59
4 LL | pub type TruncatedVector<T, const N: usize> = Vector<T, { N - 1 }>;
5 | ^ non-trivial anonymous constants must not depend on the parameter `N`
7 = help: it is currently only allowed to use either `N` or `{ N }` as generic constants
9 error: aborting due to previous error