about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/auxiliary/issue-21801.rs
blob: 51842de12d97b4e1cb7fc935d4a4f629f15a9b9f (plain)
1
2
3
4
5
6
7
8
9
//@ compile-flags: -Cmetadata=aux

pub struct Foo;

impl Foo {
    pub fn new<F>(f: F) -> Foo where F: FnMut() -> i32 {
        loop {}
    }
}