update cfg(bootstrap)s
This commit is contained in:
parent
da957f62c2
commit
6b2d3d5f3c
26 changed files with 84 additions and 220 deletions
|
@ -357,7 +357,7 @@ impl<'a> DerefMut for SnapshotParser<'a> {
|
|||
}
|
||||
|
||||
impl<'a> Parser<'a> {
|
||||
#[cfg_attr(not(bootstrap), rustc_lint_diagnostics)]
|
||||
#[rustc_lint_diagnostics]
|
||||
pub(super) fn span_err<S: Into<MultiSpan>>(
|
||||
&self,
|
||||
sp: S,
|
||||
|
@ -366,7 +366,7 @@ impl<'a> Parser<'a> {
|
|||
err.span_err(sp, self.diagnostic())
|
||||
}
|
||||
|
||||
#[cfg_attr(not(bootstrap), rustc_lint_diagnostics)]
|
||||
#[rustc_lint_diagnostics]
|
||||
pub fn struct_span_err<S: Into<MultiSpan>>(
|
||||
&self,
|
||||
sp: S,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue