#[derive(Default)] struct A { a: Vec>, b: T, } fn main() { if let Ok(_) = Ok::<_, ()>(A::::default()) {} }