debug log AbstractConst::new
This commit is contained in:
parent
8546a80dc1
commit
60bcc58dce
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ impl AbstractConst<'tcx> {
|
||||||
substs: SubstsRef<'tcx>,
|
substs: SubstsRef<'tcx>,
|
||||||
) -> Result<Option<AbstractConst<'tcx>>, ErrorReported> {
|
) -> Result<Option<AbstractConst<'tcx>>, ErrorReported> {
|
||||||
let inner = tcx.mir_abstract_const_opt_const_arg(def)?;
|
let inner = tcx.mir_abstract_const_opt_const_arg(def)?;
|
||||||
|
debug!("AbstractConst::new({:?}) = {:?}", def, inner);
|
||||||
Ok(inner.map(|inner| AbstractConst { inner, substs }))
|
Ok(inner.map(|inner| AbstractConst { inner, substs }))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue