]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
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 | ||
923072b8 | 7 | #![feature(let_chains)] |
f2b60f7d FG |
8 | #![deny(rustc::untranslatable_diagnostic)] |
9 | #![deny(rustc::diagnostic_outside_of_impl)] | |
5099ac24 | 10 | |
3dfed10e | 11 | #[macro_use] |
f9f354fc XL |
12 | extern crate rustc_macros; |
13 | ||
9ffffee4 FG |
14 | use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage}; |
15 | use rustc_macros::fluent_messages; | |
16 | ||
74b04a01 | 17 | mod builtin; |
f2b60f7d | 18 | mod session_diagnostics; |
74b04a01 XL |
19 | |
20 | pub use builtin::*; | |
21 | pub use IntType::*; | |
22 | pub use ReprAttr::*; | |
23 | pub use StabilityLevel::*; | |
24 | ||
25 | pub use rustc_ast::attr::*; | |
26 | ||
27 | pub(crate) use rustc_ast::HashStableContext; | |
9ffffee4 FG |
28 | |
29 | fluent_messages! { "../locales/en-US.ftl" } |