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