rust/tests/rustdoc/inline_cross/auxiliary/issue-57180.rs
2024-04-15 15:22:04 -07:00

17 lines
200 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,
{
}