avoid embedding StabilityLevel::Unstable reason string into metadata multiple times

This commit is contained in:
klensy 2022-07-01 18:20:46 +03:00
parent 1673f1450e
commit b38c94857d
5 changed files with 46 additions and 9 deletions

View file

@ -812,7 +812,7 @@ impl<'a> Resolver<'a> {
stability::report_unstable(
self.session,
feature,
reason,
reason.to_opt_reason(),
issue,
None,
is_soft,