]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_attr/src/lib.rs
Auto merge of #99320 - NiklasJonsson:84447/rustc_expand, r=compiler-errors
[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 #![cfg_attr(bootstrap, feature(let_chains))]
8 #![feature(let_else)]
9
10 #[macro_use]
11 extern crate rustc_macros;
12
13 mod builtin;
14
15 pub use builtin::*;
16 pub use IntType::*;
17 pub use ReprAttr::*;
18 pub use StabilityLevel::*;
19
20 pub use rustc_ast::attr::*;
21
22 pub(crate) use rustc_ast::HashStableContext;