diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-04-12 18:04:22 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-04-13 11:30:48 +0300 |
| commit | 7085ff2f6023800ea34165d49df8ff4d2b6b4bc4 (patch) | |
| tree | 5f036003f1c09aecdbb77e9db4782d1eb779f06e /compiler/rustc_middle/src/util | |
| parent | aff5f47dcef8e4616101a525cee7ecfd41183e6b (diff) | |
remove some ancient debug output, looks unused?
Diffstat (limited to 'compiler/rustc_middle/src/util')
| -rw-r--r-- | compiler/rustc_middle/src/util/common.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/compiler/rustc_middle/src/util/common.rs b/compiler/rustc_middle/src/util/common.rs index 0699e0b6269..2038d3f8448 100644 --- a/compiler/rustc_middle/src/util/common.rs +++ b/compiler/rustc_middle/src/util/common.rs @@ -21,21 +21,6 @@ pub fn to_readable_str(mut val: usize) -> String { groups.join("_") } -pub struct Indenter { - _cannot_construct_outside_of_this_module: (), -} - -impl Drop for Indenter { - fn drop(&mut self) { - debug!("<<"); - } -} - -pub fn indenter() -> Indenter { - debug!(">>"); - Indenter { _cannot_construct_outside_of_this_module: () } -} - // const wrapper for `if let Some((_, tail)) = name.rsplit_once(':') { tail } else { name }` pub const fn c_name(name: &'static str) -> &'static str { // FIXME Simplify the implementation once more `str` methods get const-stable. |
