fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
472 B13 linesraw
1error[E0700]: hidden type for `impl Debug` captures lifetime that does not appear in bounds
2  --> $DIR/impl-fn-hrtb-bounds-2.rs:5:9
3   |
4LL | fn a() -> impl Fn(&u8) -> impl Debug {
5   |                           ---------- opaque type defined here
6LL |     |x| x
7   |     --- ^
8   |     |
9   |     hidden type `&u8` captures the anonymous lifetime as defined here
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0700`.