rust/tests/rustdoc/auxiliary/issue-57180.rs
2023-01-11 09:32:08 +00:00

17 lines
199 B
Rust

// 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,
{
}