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
Fix "var_universe invoked on bound variable" crash
This should fixrust-lang/rust-analyzer#5495.
`unify_ty_ty` calls `normalize_ty_shallow` on both types and then assumes that
they can't be bound variables. With integer type variables, this assumption was
broken, because you could have a general type variable resolving to an integer
type variable resolving to i32. To fix this, `normalize_ty_shallow` probes
twice, to make sure to fully resolve the variable.
0 commit comments