]> git.proxmox.com Git - rustc.git/blob - src/librustc_attr/lib.rs
New upstream version 1.47.0+dfsg1
[rustc.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 #[macro_use]
10 extern crate rustc_macros;
11
12 mod builtin;
13
14 pub use builtin::*;
15 pub use IntType::*;
16 pub use ReprAttr::*;
17 pub use StabilityLevel::*;
18
19 pub use rustc_ast::attr::*;
20
21 pub(crate) use rustc_ast::HashStableContext;