summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/auxiliary/issue-57180.rs
blob: 4e2f4b87c020e9fb934b8c4106787a2a29403c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile-flags: -Cmetadata=aux

pub trait Trait {
}

pub struct Struct<F>
{
    _p: ::std::marker::PhantomData<F>,
}

impl<F: Fn() -> u32>
Trait for Struct<F>
    where
        F: Fn() -> u32,
{
}