Permit #[deprecated] in stdlib

This commit is contained in:
Jacob Pratt 2022-03-04 21:59:18 -05:00
parent 5636655d0f
commit 38478ea0cd
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
33 changed files with 168 additions and 366 deletions

View file

@ -202,7 +202,7 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
self.tcx.sess,
*span,
E0549,
"rustc_deprecated attribute must be paired with \
"deprecated attribute must be paired with \
either stable or unstable attribute"
)
.emit();