// build-pass (FIXME(62277): could be check-pass?) #![allow(dead_code)] struct Function { t: T, f: F } impl Function R> { fn foo() { } } impl Function R> { fn bar() { } } fn main() { }