rust/tests/rustdoc/inline_cross/auxiliary/issue-21801.rs

10 lines
144 B
Rust

//@ compile-flags: -Cmetadata=aux
pub struct Foo;
impl Foo {
pub fn new<F>(f: F) -> Foo where F: FnMut() -> i32 {
loop {}
}
}