summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/issue-21801.rs
blob: 732612ff000764a336258d94142dbb0c9fcdf271 (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 {}
    }
}