about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2022-07-01 15:48:23 +0200
committerPietro Albini <pietro.albini@ferrous-systems.com>2022-07-01 15:48:23 +0200
commit6b2d3d5f3cd1e553d87b5496632132565b6779d3 (patch)
tree184caf6abcd5f408509af8a9b6ecb23079f3ab00 /compiler/rustc_parse
parentda957f62c2c7ac8cea9d66ab36994ce8660b1aed (diff)
downloadrust-6b2d3d5f3cd1e553d87b5496632132565b6779d3.tar.gz
rust-6b2d3d5f3cd1e553d87b5496632132565b6779d3.zip
update cfg(bootstrap)s
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/parser/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs
index 0869ed65ad2..63055c56c5c 100644
--- a/compiler/rustc_parse/src/parser/diagnostics.rs
+++ b/compiler/rustc_parse/src/parser/diagnostics.rs
@@ -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,