]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/auxiliary/issue-21801.rs
Rollup merge of #69007 - GuillaumeGomez:clean-up-e0283, r=Dylan-DPC
[rust.git] / src / test / rustdoc / auxiliary / issue-21801.rs
1 // compile-flags: -Cmetadata=aux
2
3 pub struct Foo;
4
5 impl Foo {
6     pub fn new<F>(f: F) -> Foo where F: FnMut() -> i32 {
7         loop {}
8     }
9 }