mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
debug log AbstractConst::new
This commit is contained in:
parent
8546a80dc1
commit
60bcc58dce
@ -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 }))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user