summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs
blob: ac79582fb3f0df48e75c11cc1101e0d9f99ac5bc (plain)
1
2
3
4
5
6
7
8
9
// check-pass

fn f() -> impl Sized {
    // rustdoc doesn't care that this is infinitely sized
    enum E {
        V(E),
    }
    unimplemented!()
}