]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-25439.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-25439.stderr
1 error[E0644]: closure/generator type that references itself
2   --> $DIR/issue-25439.rs:18:9
3    |
4 LL |     fix(|_, x| x); //~ ERROR closure/generator type that references itself [E0644]
5    |         ^^^^^^^^ cyclic type of infinite size
6    |
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 https://github.com/rust-lang/rust/issues/46062 for more details
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0644`.