diff options
| author | Ralf Jung <post@ralfj.de> | 2022-10-31 11:04:03 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-10-31 11:04:03 +0100 |
| commit | fa2aa1cedbe258fe13e8cb0933da95810a8f34ed (patch) | |
| tree | 46b511652f437f6cf8b9e6cbee22f9026cb5f091 /compiler/rustc_const_eval/src/util/mod.rs | |
| parent | 4596f4f8b565bdd02d3b99d1ab12ff09146a93de (diff) | |
| download | rust-fa2aa1cedbe258fe13e8cb0933da95810a8f34ed.tar.gz rust-fa2aa1cedbe258fe13e8cb0933da95810a8f34ed.zip | |
interpret: move type_name implementation to an interpreter-independent helper file
Diffstat (limited to 'compiler/rustc_const_eval/src/util/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/util/mod.rs b/compiler/rustc_const_eval/src/util/mod.rs index 7a05cfd235f..4d0f81a4060 100644 --- a/compiler/rustc_const_eval/src/util/mod.rs +++ b/compiler/rustc_const_eval/src/util/mod.rs @@ -4,9 +4,11 @@ mod call_kind; pub mod collect_writes; mod find_self_call; mod might_permit_raw_init; +mod type_name; pub use self::aggregate::expand_aggregate; pub use self::alignment::is_disaligned; pub use self::call_kind::{call_kind, CallDesugaringKind, CallKind}; pub use self::find_self_call::find_self_call; pub use self::might_permit_raw_init::might_permit_raw_init; +pub use self::type_name::type_name; |
