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
It feels like this should be possible. Of course, you can work around this by using the 'static lifetime here instead of an arbitrary 'a. However, it would be nice to at least provide some better error messaging here if possible or document this as a shortcoming somewhere, as the current error is really misleading.
The text was updated successfully, but these errors were encountered:
Consider the following example:
This results in the following error:
Rust handles this just fine, so this seems like an issue with
rstest
.It feels like this should be possible. Of course, you can work around this by using the
'static
lifetime here instead of an arbitrary'a
. However, it would be nice to at least provide some better error messaging here if possible or document this as a shortcoming somewhere, as the current error is really misleading.The text was updated successfully, but these errors were encountered: