]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/closure-referencing-itself-issue-25954.stderr
Rollup merge of #106779 - RReverser:patch-2, r=Mark-Simulacrum
[rust.git] / tests / ui / closures / closure-referencing-itself-issue-25954.stderr
1 error[E0308]: mismatched types
2   --> $DIR/closure-referencing-itself-issue-25954.rs:15:13
3    |
4 LL |     let q = || p.b.set(5i32);
5    |             ^^^^^^^^^^^^^^^^ cyclic type of infinite size
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0308`.