about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-10-26 14:56:58 +0100
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-10-26 14:56:58 +0100
commit60bcc58dcea0f4314a67f80984431f3b4a0588e4 (patch)
treee483ac240831b457308f3df21a4958df859e7952
parent8546a80dc1728cf4bc72de343c2513a0bd6fd10e (diff)
downloadrust-60bcc58dcea0f4314a67f80984431f3b4a0588e4.tar.gz
rust-60bcc58dcea0f4314a67f80984431f3b4a0588e4.zip
debug log `AbstractConst::new`
-rw-r--r--compiler/rustc_trait_selection/src/traits/const_evaluatable.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
index 4bba1feb647..5f6d8ac751e 100644
--- a/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
+++ b/compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
@@ -211,6 +211,7 @@ impl AbstractConst<'tcx> {
         substs: SubstsRef<'tcx>,
     ) -> Result<Option<AbstractConst<'tcx>>, ErrorReported> {
         let inner = tcx.mir_abstract_const_opt_const_arg(def)?;
+        debug!("AbstractConst::new({:?}) = {:?}", def, inner);
         Ok(inner.map(|inner| AbstractConst { inner, substs }))
     }