rust/tests/crashes/136416.rs
2025-03-08 20:13:07 +01:00

6 lines
172 B
Rust

//@ known-bug: #136416
#![feature(generic_const_exprs)]
struct State<const S : usize = {}> where[(); S] :;
struct Foo;
struct State2<const S: usize = Foo> where [(); S]:;