// Unlike in `super-trait-knowable-1.rs`, the knowable // super trait bound is in a nested goal so this would not // compile if we were to only elaborate root goals. //@ check-pass trait Super {} trait Sub: Super {} struct W(T); trait Bound {} impl, U> Bound> for T {} trait Overlap {} impl>> Overlap for U {} impl Overlap for () {} fn main() {}