1
Fork 0

Re-format code with new rustfmt

This commit is contained in:
Mark Rousskov 2023-11-13 08:24:55 -05:00
parent db3e2bacb6
commit 917f6540ed
70 changed files with 652 additions and 490 deletions

View file

@ -196,7 +196,10 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
}
}
if let Some((depr, span)) = &depr && depr.is_since_rustc_version() && stab.is_none() {
if let Some((depr, span)) = &depr
&& depr.is_since_rustc_version()
&& stab.is_none()
{
self.tcx.sess.emit_err(errors::DeprecatedAttribute { span: *span });
}