2020-01-11 13:15:20 +01:00
|
|
|
//! Functions and types dealing with attributes and meta items.
|
|
|
|
//!
|
2020-02-29 20:37:32 +03:00
|
|
|
//! FIXME(Centril): For now being, much of the logic is still in `rustc_ast::attr`.
|
2020-01-11 13:15:20 +01:00
|
|
|
//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
|
|
|
|
//! to this crate.
|
|
|
|
|
2022-02-02 12:45:20 +01:00
|
|
|
#![feature(let_else)]
|
|
|
|
|
2020-06-11 15:49:57 +01:00
|
|
|
#[macro_use]
|
2020-05-08 09:38:18 -06:00
|
|
|
extern crate rustc_macros;
|
|
|
|
|
2020-01-11 13:15:20 +01:00
|
|
|
mod builtin;
|
2022-08-21 08:46:05 +02:00
|
|
|
mod session_diagnostics;
|
2020-01-11 13:15:20 +01:00
|
|
|
|
|
|
|
pub use builtin::*;
|
|
|
|
pub use IntType::*;
|
|
|
|
pub use ReprAttr::*;
|
|
|
|
pub use StabilityLevel::*;
|
|
|
|
|
2020-02-29 20:37:32 +03:00
|
|
|
pub use rustc_ast::attr::*;
|
2020-01-11 13:15:20 +01:00
|
|
|
|
2020-02-29 20:37:32 +03:00
|
|
|
pub(crate) use rustc_ast::HashStableContext;
|