2020-01-11 12:15:20 +00:00
|
|
|
//! Functions and types dealing with attributes and meta items.
|
|
|
|
//!
|
2020-02-29 17:37:32 +00:00
|
|
|
//! FIXME(Centril): For now being, much of the logic is still in `rustc_ast::attr`.
|
2020-01-11 12:15:20 +00:00
|
|
|
//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
|
|
|
|
//! to this crate.
|
|
|
|
|
2023-11-13 12:39:17 +00:00
|
|
|
#![allow(internal_features)]
|
|
|
|
#![feature(rustdoc_internals)]
|
|
|
|
#![doc(rust_logo)]
|
2022-08-20 18:40:08 +00:00
|
|
|
#![feature(let_chains)]
|
2022-02-02 11:45:20 +00:00
|
|
|
|
2020-01-11 12:15:20 +00:00
|
|
|
mod builtin;
|
2022-08-21 06:46:05 +00:00
|
|
|
mod session_diagnostics;
|
2020-01-11 12:15:20 +00:00
|
|
|
|
|
|
|
pub use builtin::*;
|
|
|
|
pub use IntType::*;
|
|
|
|
pub use ReprAttr::*;
|
|
|
|
pub use StabilityLevel::*;
|
|
|
|
|
2020-02-29 17:37:32 +00:00
|
|
|
pub use rustc_ast::attr::*;
|
2020-01-11 12:15:20 +00:00
|
|
|
|
2023-10-27 00:18:21 +00:00
|
|
|
pub(crate) use rustc_session::HashStableContext;
|
2022-10-13 09:13:02 +00:00
|
|
|
|
2023-11-21 22:53:07 +00:00
|
|
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|