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
We assume that rustc has done a good job at borrow checking and lifetime inference before the extraction phase.
Therefore it is safe to ignore/erase lifetimes when extraction Rust to Stainless.
The failure: Unsupported tree: Cannot extract generic parameter '_ of kind: Lifetime only happens when using methods on generic types containing references like Option<&T>.copied(). As these methods are not understood by Stainless at the moment anyway, the issue is of very low priority.
We assume that
rustc
has done a good job at borrow checking and lifetime inference before the extraction phase.Therefore it is safe to ignore/erase lifetimes when extraction Rust to Stainless.
The failure:
Unsupported tree: Cannot extract generic parameter '_ of kind: Lifetime
only happens when using methods on generic types containing references likeOption<&T>.copied()
. As these methods are not understood by Stainless at the moment anyway, the issue is of very low priority.Example:
The text was updated successfully, but these errors were encountered: