fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0277]: the trait bound `for<'a, 'b> SomeStruct: Foo<(&'a isize, &'b isize)>` is not satisfied 2 --> $DIR/hrtb-conflate-regions.rs:27:22 3 | 4LL | fn want_foo2<T>() 5 | --------- 6LL | where T : for<'a,'b> Foo<(&'a isize, &'b isize)> 7 | -------------------------------------- required by this bound in `want_foo2` 8... 9LL | fn b() { want_foo2::<SomeStruct>(); } 10 | ^^^^^^^^^^ the trait `for<'a, 'b> Foo<(&'a isize, &'b isize)>` is not implemented for `SomeStruct` 11 | 12 = help: the following implementations were found: 13 <SomeStruct as Foo<(&'a isize, &'a isize)>> 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0277`.