mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
18 lines
231 B
Rust
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> {}
|