about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/auxiliary/issue-57180.rs
blob: cd905b7a598612197abc9abbd8576514b39b6059 (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,
{
}