rust/tests/crashes/124350.rs
2024-04-26 17:20:16 +02:00

18 lines
231 B
Rust

//@ known-bug: #124350
struct Node<const D: usize> {}
impl Node<D>
where
SmallVec<{ D * 2 }>:,
{
fn new() -> Self {
let mut node = Node::new();
(&a, 0)();
node
}
}
struct SmallVec<T1, T2> {}