blob: b11b07b5023b2348d3bbbb0a89f6327084b92599 (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
pub struct Foo<T, const H: T>(T)
//~^ ERROR the type of const parameters must not depend on other generic parameters
where
[(); 1]:;
fn main() {}
|