Skip to content

Commit 60bcc58

Browse files
committed
debug log AbstractConst::new
1 parent 8546a80 commit 60bcc58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/traits/const_evaluatable.rs

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ impl AbstractConst<'tcx> {
211211
substs: SubstsRef<'tcx>,
212212
) -> Result<Option<AbstractConst<'tcx>>, ErrorReported> {
213213
let inner = tcx.mir_abstract_const_opt_const_arg(def)?;
214+
debug!("AbstractConst::new({:?}) = {:?}", def, inner);
214215
Ok(inner.map(|inner| AbstractConst { inner, substs }))
215216
}
216217

0 commit comments

Comments
 (0)