1
Fork 0

debug!("paramenv={}paramenv={}paramenv={}paramenv={}")

This commit is contained in:
Ellen 2021-02-13 19:08:31 +00:00
parent 7e0241c637
commit 68405fdc2e
4 changed files with 9 additions and 2 deletions

View file

@ -353,6 +353,7 @@ impl<'tcx> Instance<'tcx> {
def: ty::WithOptConstParam<DefId>,
substs: SubstsRef<'tcx>,
) -> Result<Option<Instance<'tcx>>, ErrorReported> {
debug!("resolve_opt_const_arg: param_env={:?},substs={:?}", param_env, substs);
// All regions in the result of this query are erased, so it's
// fine to erase all of the input regions.