about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-03 22:10:12 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-05 12:35:18 -0400
commit41b39fce98fc141fef067cc22c1e9e9dc7b88b29 (patch)
treee965146778fe3bdecd030ab157e266b9f3b38554 /src/libsyntax
parent4de4f303e5cee3e40b8e91a381517a457af7b4cc (diff)
downloadrust-41b39fce98fc141fef067cc22c1e9e9dc7b88b29.tar.gz
rust-41b39fce98fc141fef067cc22c1e9e9dc7b88b29.zip
Remove rustc_diagnostic_macros feature
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate/active.rs6
-rw-r--r--src/libsyntax/lib.rs1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/feature_gate/active.rs b/src/libsyntax/feature_gate/active.rs
index c947b09fdcb..86979bdb1fb 100644
--- a/src/libsyntax/feature_gate/active.rs
+++ b/src/libsyntax/feature_gate/active.rs
@@ -120,12 +120,6 @@ declare_features! (
     /// macros disappear).
     (active, allow_internal_unsafe, "1.0.0", None, None),
 
-    /// Allows using the macros:
-    /// + `__diagnostic_used`
-    /// + `__register_diagnostic`
-    /// +`__build_diagnostic_array`
-    (active, rustc_diagnostic_macros, "1.0.0", None, None),
-
     /// Allows using `#[rustc_const_unstable(feature = "foo", ..)]` which
     /// lets a function to be `const` when opted into with `#![feature(foo)]`.
     (active, rustc_const_unstable, "1.0.0", None, None),
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 75ce306df80..49efbce482f 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -18,7 +18,6 @@
 #![feature(proc_macro_diagnostic)]
 #![feature(proc_macro_internals)]
 #![feature(proc_macro_span)]
-#![feature(rustc_diagnostic_macros)]
 #![feature(try_trait)]
 #![feature(unicode_internals)]