//@ revisions: cfail #![feature(generic_const_exprs)] #![allow(incomplete_features)] // regression test for #79251 struct Node where SmallVec<{ D * 2 }>: , { keys: SmallVec<{ D * 2 }>, } impl Node where SmallVec<{ D * 2 }>: , { fn new() -> Self { let mut node = Node::new(); node.keys.some_function(); //~^ error: no method named node } } struct SmallVec {} fn main() {}