about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorEllen <supbscripter@gmail.com>2021-09-07 01:17:51 +0100
committerEllen <supbscripter@gmail.com>2021-09-09 01:32:03 +0100
commit15101c8e95db6941f8c7d55fb301ad1b62748c7b (patch)
tree487f88be0512d7c7e62e71aa73ae38f3a15d4f5d /compiler/rustc_trait_selection/src
parent1f57f8b9032fa0f83aa59f634ac72f1e63a1cfa2 (diff)
downloadrust-15101c8e95db6941f8c7d55fb301ad1b62748c7b.tar.gz
rust-15101c8e95db6941f8c7d55fb301ad1b62748c7b.zip
remove debug stmts
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/traits/const_evaluatable.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
index c47b0c31ca0..4251dc5e939 100644
--- a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
+++ b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
@@ -435,9 +435,8 @@ pub(super) fn mir_abstract_const<'tcx>(
             DefKind::AnonConst => (),
             _ => return Ok(None),
         }
-        debug!("mir_abstract_const: {:?}", def);
+        
         let body = tcx.thir_body(def);
-
         if body.0.borrow().exprs.is_empty() {
             // type error in constant, there is no thir
             return Err(ErrorReported);