]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/auxiliary/issue-57180.rs
Rollup merge of #71829 - kper:issue71136, r=matthewjasper
[rust.git] / src / test / rustdoc / auxiliary / issue-57180.rs
1 // compile-flags: -Cmetadata=aux
2
3 pub trait Trait {
4 }
5
6 pub struct Struct<F>
7 {
8     _p: ::std::marker::PhantomData<F>,
9 }
10
11 impl<F: Fn() -> u32>
12 Trait for Struct<F>
13     where
14         F: Fn() -> u32,
15 {
16 }