1 error: generic parameters may not be used in const operations
2 --> $DIR/issue-62220.rs:7:59
4 LL | pub type TruncatedVector<T, const N: usize> = Vector<T, { N - 1 }>;
5 | ^ cannot perform const operation using `N`
7 = help: const parameters may only be used as standalone arguments, i.e. `N`
8 = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions
10 error: aborting due to previous error