Add documentation
This commit is contained in:
parent
3947591ee8
commit
19e90843a4
3 changed files with 90 additions and 36 deletions
|
@ -362,7 +362,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
|||
}
|
||||
(GenericParamDefKind::Type { has_default, .. }, GenericArg::Type(ty)) => {
|
||||
if *has_default {
|
||||
tcx.check_stability_internal(
|
||||
tcx.check_optional_stability(
|
||||
param.def_id,
|
||||
Some(arg.id()),
|
||||
arg.span(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue