1 //! Functions and types dealing with attributes and meta items.
3 //! FIXME(Centril): For now being, much of the logic is still in `rustc_ast::attr`.
4 //! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
7 #![feature(let_chains)]
9 #![deny(rustc::untranslatable_diagnostic)]
10 #![deny(rustc::diagnostic_outside_of_impl)]
13 extern crate rustc_macros;
16 mod session_diagnostics;
21 pub use StabilityLevel::*;
23 pub use rustc_ast::attr::*;
25 pub(crate) use rustc_ast::HashStableContext;