about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-05 10:47:20 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-01-11 03:26:16 +0100
commitf361b71a7dd5516e40fe77f22d28b9ed6d76e7bf (patch)
tree27655a39df035875ab3cba41bc078710002ca1a8 /src/libsyntax
parent2b44a6c8f4053cf5f8acf026ffdbc329709e5c3d (diff)
downloadrust-f361b71a7dd5516e40fe77f22d28b9ed6d76e7bf.tar.gz
rust-f361b71a7dd5516e40fe77f22d28b9ed6d76e7bf.zip
nix syntax::early_buffered_lints
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.