]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/impl-fn-hrtb-bounds-2.stderr
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
[rust.git] / tests / ui / impl-trait / impl-fn-hrtb-bounds-2.stderr
1 error[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    |
4 LL |     |x| x
5    |     --- ^
6    |     |
7    |     hidden type `&u8` captures the anonymous lifetime #1 defined here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0700`.