change const_param_default query to return EarlyBinder; remove bound_const_param_default query; add EarlyBinder to const_param_default in metadata

This commit is contained in:
Kyle Matsuda 2023-01-10 12:27:41 -07:00
parent bd6c63597b
commit ef58baf8b8
11 changed files with 12 additions and 22 deletions

View file

@ -507,7 +507,7 @@ fn clean_generic_param_def<'tcx>(
)),
default: match has_default {
true => Some(Box::new(
cx.tcx.bound_const_param_default(def.def_id).subst_identity().to_string(),
cx.tcx.const_param_default(def.def_id).subst_identity().to_string(),
)),
false => None,
},