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
To simplify the handling of lifetime binders, our trait resolution algorithm currently erases all lifetime information, even bound lifetimes such as in for<'a> fn(&'a ()). This actually matters because types that differ in bound lifetimes are distinct for the purposes of trait solving, so we're identifying distinct types.
This is unlikely to happen in practice but technically unsound. Reproducer welcome if someone can come up with one.
The text was updated successfully, but these errors were encountered:
To simplify the handling of lifetime binders, our trait resolution algorithm currently erases all lifetime information, even bound lifetimes such as in
for<'a> fn(&'a ())
. This actually matters because types that differ in bound lifetimes are distinct for the purposes of trait solving, so we're identifying distinct types.This is unlikely to happen in practice but technically unsound. Reproducer welcome if someone can come up with one.
The text was updated successfully, but these errors were encountered: