We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AbstractConst::new
1 parent 8546a80 commit 60bcc58Copy full SHA for 60bcc58
compiler/rustc_trait_selection/src/traits/const_evaluatable.rs
@@ -211,6 +211,7 @@ impl AbstractConst<'tcx> {
211
substs: SubstsRef<'tcx>,
212
) -> Result<Option<AbstractConst<'tcx>>, ErrorReported> {
213
let inner = tcx.mir_abstract_const_opt_const_arg(def)?;
214
+ debug!("AbstractConst::new({:?}) = {:?}", def, inner);
215
Ok(inner.map(|inner| AbstractConst { inner, substs }))
216
}
217
0 commit comments