]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impl-trait/multiple-lifetimes/error-handling-2.min_tait.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / impl-trait / multiple-lifetimes / error-handling-2.min_tait.stderr
CommitLineData
74b04a01 1error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
6a06907d 2 --> $DIR/error-handling-2.rs:16:60
74b04a01
XL
3 |
4LL | fn foo<'a: 'b, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
5 | ^^^^^^^^^
6 |
6a06907d
XL
7note: hidden type `*mut &'a i32` captures the lifetime `'a` as defined on the function body at 16:8
8 --> $DIR/error-handling-2.rs:16:8
74b04a01
XL
9 |
10LL | fn foo<'a: 'b, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
11 | ^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0700`.