1 error[E0644]: closure/generator type that references itself
2 --> $DIR/issue-25439.rs:8:9
5 | ^^^^^^^^ cyclic type of infinite size
7 = note: closures cannot capture themselves or take themselves as argument;
8 this error may be the result of a recent compiler bug-fix,
9 see issue #46062 <https://github.com/rust-lang/rust/issues/46062>
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0644`.