rust/tests/crashes/106473.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
168 B
Rust
Raw Normal View History

//@ known-bug: #106473
#![feature(generic_const_exprs)]
const DEFAULT: u32 = 1;
struct V<const U: usize = DEFAULT>
where
[(); U]:;
trait Tr {}
impl Tr for V {}