add is_host_effect
to GenericParamDefKind::Const
and address review
This commit is contained in:
parent
84a490712a
commit
9654d5ceaf
13 changed files with 35 additions and 28 deletions
|
@ -1242,7 +1242,7 @@ impl<'tcx> Stable<'tcx> for rustc_middle::ty::GenericParamDefKind {
|
|||
ty::GenericParamDefKind::Type { has_default, synthetic } => {
|
||||
GenericParamDefKind::Type { has_default: *has_default, synthetic: *synthetic }
|
||||
}
|
||||
ty::GenericParamDefKind::Const { has_default } => {
|
||||
ty::GenericParamDefKind::Const { has_default, is_host_effect: _ } => {
|
||||
GenericParamDefKind::Const { has_default: *has_default }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue