]> git.lizzy.rs Git - rust.git/blob - src/librustc_attr/lib.rs
5754bb48d24e1c4785d2b9f92512243277be0f3f
[rust.git] / src / librustc_attr / 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(or_patterns)]
8
9 // FIXME(#56935): Work around ICEs during cross-compilation.
10 #[allow(unused)]
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;