1
Fork 0

Update with comments

This commit is contained in:
kadmin 2021-03-20 22:34:58 +00:00
parent ea2af70466
commit 7116bb5c33
9 changed files with 74 additions and 35 deletions

View file

@ -775,7 +775,7 @@ fn check_where_clauses<'tcx, 'fcx>(
GenericParamDefKind::Const { .. } => {
if is_our_default(param) {
let default_ct = tcx.const_param_default(param.def_id);
// Const params have to currently be concrete.
// Const params currently have to be concrete.
assert!(!default_ct.needs_subst());
default_ct.into()
} else {