rust/compiler/stable_mir/src
Celina G. Val 3f60165d27 Remove fold code and add Const::internal()
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.
2023-10-24 14:50:58 -07:00
..
mir Remove fold code and add Const::internal() 2023-10-24 14:50:58 -07:00
error.rs Add stable Instance::body() and RustcInternal trait 2023-10-19 17:12:26 -07:00
lib.rs Remove fold code and add Const::internal() 2023-10-24 14:50:58 -07:00
mir.rs Add MonoItems and Instance to stable_mir 2023-10-16 12:01:24 -07:00
ty.rs Remove fold code and add Const::internal() 2023-10-24 14:50:58 -07:00
visitor.rs Remove fold code and add Const::internal() 2023-10-24 14:50:58 -07:00