1
Fork 0

update cfg(bootstrap)s

This commit is contained in:
Pietro Albini 2022-07-01 15:48:23 +02:00
parent da957f62c2
commit 6b2d3d5f3c
No known key found for this signature in database
GPG key ID: CD76B35F7734769E
26 changed files with 84 additions and 220 deletions

View file

@ -478,7 +478,7 @@ impl<'cx, 'tcx> crate::MirBorrowckCtxt<'cx, 'tcx> {
struct_span_err!(self, span, E0716, "temporary value dropped while borrowed",)
}
#[cfg_attr(not(bootstrap), rustc_lint_diagnostics)]
#[rustc_lint_diagnostics]
fn struct_span_err_with_code<S: Into<MultiSpan>>(
&self,
sp: S,