1 warning: cannot use constants which depend on generic parameters in types
2 --> $DIR/issue-67375.rs:8:12
4 LL | inner: [(); { [|_: &T| {}; 0].len() }],
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(const_evaluatable_unchecked)]` on by default
8 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9 = note: for more information, see issue #76200 <https://github.com/rust-lang/rust/issues/76200>
11 error[E0392]: parameter `T` is never used
12 --> $DIR/issue-67375.rs:6:12
17 = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
18 = help: if you intended `T` to be a const parameter, use `const T: usize` instead
20 error: aborting due to previous error; 1 warning emitted
22 For more information about this error, try `rustc --explain E0392`.