Rollup merge of #93672 - lcnr:const-param-defaults-xx, r=matthewjasper
update comment wrt const param defaults after #93669 i looked through all other uses of `GenericParamKind::Const` again to detect if we missed the `default` there as well, but afaict we really only missed lifetime resolution '^^ at least i found an outdated comment :3
This commit is contained in:
commit
b7f785092d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ fn inject_impl_of_structural_trait(
|
||||||
|
|
||||||
// Create the type of `self`.
|
// Create the type of `self`.
|
||||||
//
|
//
|
||||||
// in addition, remove defaults from type params (impls cannot have them).
|
// in addition, remove defaults from generic params (impls cannot have them).
|
||||||
let self_params: Vec<_> = generics
|
let self_params: Vec<_> = generics
|
||||||
.params
|
.params
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue