rust/tests/rustdoc/auxiliary/issue-57180.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
199 B
Rust
Raw Normal View History

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