about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/early_buffered_lints.rs8
-rw-r--r--src/libsyntax/lib.rs2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/libsyntax/early_buffered_lints.rs b/src/libsyntax/early_buffered_lints.rs
deleted file mode 100644
index 8df4eb6c9ac..00000000000
--- a/src/libsyntax/early_buffered_lints.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-//! Allows the buffering of lints for later.
-//!
-//! Since we cannot have a dependency on `librustc`, we implement some types here that are somewhat
-//! redundant. Later, these types can be converted to types for use by the rest of the compiler.
-
-pub use rustc_session::lint::builtin::ILL_FORMED_ATTRIBUTE_INPUT;
-pub use rustc_session::lint::builtin::{INCOMPLETE_INCLUDE, META_VARIABLE_MISUSE};
-pub use rustc_session::lint::BufferedEarlyLint;
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index c03e848b7a4..75c647f2daa 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -93,8 +93,6 @@ pub mod print {
     pub mod pprust;
 }
 
-pub mod early_buffered_lints;
-
 use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
 
 /// Requirements for a `StableHashingContext` to be used in this crate.