enum variant ctor inherits stability of variant
This commit is contained in:
parent
569788e47e
commit
b821ce6097
3 changed files with 17 additions and 1 deletions
|
@ -460,7 +460,7 @@ impl<'a, 'tcx> Visitor<'tcx> for Annotator<'a, 'tcx> {
|
|||
AnnotationKind::Required,
|
||||
InheritDeprecation::Yes,
|
||||
InheritConstStability::No,
|
||||
InheritStability::No,
|
||||
InheritStability::Yes,
|
||||
|_| {},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue