fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
524 B13 linesraw
1error[E0644]: closure/generator type that references itself
2  --> $DIR/unboxed-closure-no-cyclic-sig.rs:8:7
3   |
4LL |     g(|_| {  });
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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0644`.