blob: 8ca43cd1cffb17d2a0b3009f9af1cf931c47dd27 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0308]: mismatched types
--> $DIR/closure-referencing-itself-issue-25954.rs:15:13
|
LL | let q = || p.b.set(5i32);
| ^^^^^^^^^^^^^^^^ cyclic type of infinite size
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|