blob: 856f7b622d7ef0b14a39782191fd5e34647792a0 (
plain)
1
2
3
4
5
6
7
|
//! Regression test for #118179: `adt_const_params` feature shouldn't leak
//! `{type error}` in error messages.
struct G<T, const N: Vec<T>>(T);
//~^ ERROR the type of const parameters must not depend on other generic parameters
fn main() {}
|