We are not planning to support user generated constant in the foreseeable future, so we are removing the Fold logic for now in favor of the Instance::resolve logic. The Instance::resolve was however incomplete, since we weren't handling internalizing constants yet. Thus, I added that. I decided to keep the Const fields private in case we decide to translate them lazily. |
||
|---|---|---|
| .. | ||
| mir | ||
| error.rs | ||
| lib.rs | ||
| mir.rs | ||
| ty.rs | ||
| visitor.rs | ||