]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[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 | 4 | LL | fn want_foo2<T>() |
ba9703b0 | 5 | | --------- required by a bound in this |
e1599b0c XL |
6 | LL | where T : for<'a,'b> Foo<(&'a isize, &'b isize)> |
7 | | -------------------------------------- required by this bound in `want_foo2` | |
8 | ... | |
532ac7d7 | 9 | LL | 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 | |
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0277`. |