2 #![feature(generic_const_exprs)]
3 #![allow(incomplete_features)]
4 // regression test for #79251
5 struct Node<const D: usize>
9 keys: SmallVec<{ D * 2 }>,
12 impl<const D: usize> Node<D>
14 SmallVec<{ D * 2 }>: ,
17 let mut node = Node::new();
18 node.keys.some_function();
19 //~^ error: no method named
24 struct SmallVec<const D: usize> {}