Skip to content

Commit

Permalink
debug log AbstractConst::new
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Oct 26, 2020
1 parent 8546a80 commit 60bcc58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }))
}

Expand Down

0 comments on commit 60bcc58

Please sign in to comment.