You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: lifetime may not live long enough
--> <source>:8:12
|
7 | fn foo<'a, 'b>() -> Tait<'a> {
| -- -- lifetime `'b` defined here
| |
| lifetime `'a` defined here
8 | let _: Outlives::<'b, Tait<'a>> = Outlives(PhantomData, PhantomData);
| ^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'b`
|
= help: consider adding the following bound: `'a: 'b`
The text was updated successfully, but these errors were encountered:
this fails with the old solver with
The text was updated successfully, but these errors were encountered: