2019-11-04 00:00:00 +00:00
|
|
|
//@ check-pass
|
2018-09-25 21:51:35 +00:00
|
|
|
#![allow(dead_code)]
|
2017-04-18 19:48:19 +00: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() { }
|