change usages of const_param_default query to bound_const_param_default
This commit is contained in:
parent
c84917ad2e
commit
bd6c63597b
4 changed files with 9 additions and 5 deletions
|
|
@ -506,7 +506,9 @@ fn clean_generic_param_def<'tcx>(
|
|||
Some(def.def_id),
|
||||
)),
|
||||
default: match has_default {
|
||||
true => Some(Box::new(cx.tcx.const_param_default(def.def_id).to_string())),
|
||||
true => Some(Box::new(
|
||||
cx.tcx.bound_const_param_default(def.def_id).subst_identity().to_string(),
|
||||
)),
|
||||
false => None,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue