]> git.proxmox.com Git - rustc.git/blame - src/test/ui/hrtb/hrtb-exists-forall-trait-invariant.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / hrtb / hrtb-exists-forall-trait-invariant.stderr
CommitLineData
f035d41b
XL
1error: implementation of `Trait` is not general enough
2 --> $DIR/hrtb-exists-forall-trait-invariant.rs:28:5
0731742a 3 |
532ac7d7 4LL | foo::<()>();
f035d41b 5 | ^^^^^^^^^ implementation of `Trait` is not general enough
0731742a 6 |
1b1a35ee 7 = note: `()` must implement `Trait<for<'b> fn(Cell<&'b u32>)>`
6a06907d 8 = note: ...but it actually implements `Trait<fn(Cell<&'0 u32>)>`, for some specific lifetime `'0`
0731742a
XL
9
10error: aborting due to previous error
11