// Case that the fix for #74868 also allowed to compile // check-pass trait BoxedDsl { type Output; } impl BoxedDsl for T where T: BoxedDsl, { type Output = ::Output; } trait HandleUpdate {} impl HandleUpdate for T where T: BoxedDsl {} fn main() {}