]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-90364.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / const-generics / issues / issue-90364.rs
1 #![feature(generic_const_exprs)]
2 #![allow(incomplete_features)]
3
4 pub struct Foo<T, const H: T>(T)
5 //~^ ERROR the type of const parameters must not depend on other generic parameters
6 where
7     [(); 1]:;
8
9 fn main() {}