2018-09-30 07:27:26 -05:00
|
|
|
// compile-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2017-04-18 14:48:19 -05:00
|
|
|
struct Function<T, F> { t: T, f: F }
|
|
|
|
|
|
|
|
impl<T, R> Function<T, fn() -> R> { fn foo() { } }
|
|
|
|
impl<T, R> Function<T, fn() -> R> { fn bar() { } }
|
|
|
|
|
|
|
|
fn main() { }
|