rustc represents generic parameters using special variants:
TyKind::TyParam
ReEarlyBound for regions
chalk has only one form of binding, which is used for everything.
These need to be reconciled. The general belief is that the chalk way is cleaner, but it makes debug output more challenging, since more context is required to figure things out.
rustc represents generic parameters using special variants:
TyKind::TyParam
ReEarlyBound
for regionschalk has only one form of binding, which is used for everything.
These need to be reconciled. The general belief is that the chalk way is cleaner, but it makes debug output more challenging, since more context is required to figure things out.