summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-41298.rs
blob: a1b4de39bee4c83d43e5c36a408c20d008b85f4d (plain)
1
2
3
4
5
6
7
8
// check-pass
#![allow(dead_code)]
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() { }