1
Fork 0

enum variant ctor inherits stability of variant

This commit is contained in:
Michael Goulet 2022-08-11 22:20:35 +00:00
parent 569788e47e
commit b821ce6097
3 changed files with 17 additions and 1 deletions

View file

@ -460,7 +460,7 @@ impl<'a, 'tcx> Visitor<'tcx> for Annotator<'a, 'tcx> {
AnnotationKind::Required,
InheritDeprecation::Yes,
InheritConstStability::No,
InheritStability::No,
InheritStability::Yes,
|_| {},
);
}