]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_attr/src/lib.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / compiler / rustc_attr / src / lib.rs
1 //! Functions and types dealing with attributes and meta items.
2 //!
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`
5 //! to this crate.
6
7 #![feature(let_chains)]
8 #![deny(rustc::untranslatable_diagnostic)]
9 #![deny(rustc::diagnostic_outside_of_impl)]
10
11 #[macro_use]
12 extern crate rustc_macros;
13
14 mod builtin;
15 mod session_diagnostics;
16
17 pub use builtin::*;
18 pub use IntType::*;
19 pub use ReprAttr::*;
20 pub use StabilityLevel::*;
21
22 pub use rustc_ast::attr::*;
23
24 pub(crate) use rustc_ast::HashStableContext;