]> git.proxmox.com Git - rustc.git/blame - src/test/ui/hrtb/hrtb-conflate-regions.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / hrtb / hrtb-conflate-regions.stderr
CommitLineData
b7449926 1error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied
e1599b0c 2 --> $DIR/hrtb-conflate-regions.rs:27:22
b7449926 3 |
e1599b0c 4LL | fn want_foo2<T>()
ba9703b0 5 | --------- required by a bound in this
e1599b0c
XL
6LL | where T : for<'a,'b> Foo<(&'a isize, &'b isize)>
7 | -------------------------------------- required by this bound in `want_foo2`
8...
532ac7d7 9LL | fn b() { want_foo2::<SomeStruct>(); }
e1599b0c 10 | ^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct`
b7449926
XL
11 |
12 = help: the following implementations were found:
13 <SomeStruct as Foo<(&'a isize, &'a isize)>>
b7449926
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.