1
Fork 0

Addressed comments by @compiler-errors and @bjorn3

This commit is contained in:
Yuri Astrakhan 2022-03-30 17:04:46 -04:00
parent c9c6e22f4b
commit a6dd658254
10 changed files with 10 additions and 10 deletions

View file

@ -144,7 +144,7 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
}
if !self.tcx.features().staged_api {
// Propagate instability. This can happen even for non-staged-api crates in case
// Propagate unstability. This can happen even for non-staged-api crates in case
// -Zforce-unstable-if-unmarked is set.
if let Some(stab) = self.parent_stab {
if inherit_deprecation.yes() && stab.level.is_unstable() {