2019-11-03 18:00:00 -06:00
|
|
|
// check-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() { }
|