1 //! Allows the buffering of lints for later.
3 //! Since we cannot have a dependency on `librustc`, we implement some types here that are somewhat
4 //! redundant. Later, these types can be converted to types for use by the rest of the compiler.
6 use rustc_session::lint::FutureIncompatibleInfo;
7 use rustc_session::declare_lint;
8 pub use rustc_session::lint::BufferedEarlyLint;
11 pub ILL_FORMED_ATTRIBUTE_INPUT,
13 "ill-formed attribute inputs that were previously accepted and used in practice",
14 @future_incompatible = FutureIncompatibleInfo {
15 reference: "issue #57571 <https://github.com/rust-lang/rust/issues/57571>",
21 pub META_VARIABLE_MISUSE,
23 "possible meta-variable misuse at macro definition"
27 pub INCOMPLETE_INCLUDE,
29 "trailing content in included file"