rustc_attr_parsing/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// tidy-alphabetical-start
8#![allow(internal_features)]
9#![doc(rust_logo)]
10#![feature(let_chains)]
11#![feature(rustdoc_internals)]
12#![warn(unreachable_pub)]
13// tidy-alphabetical-end
14
15mod attributes;
16mod session_diagnostics;
17
18pub use attributes::*;
19pub use rustc_attr_data_structures::*;
20pub use util::{find_crate_name, is_builtin_attr, parse_version};
21
22rustc_fluent_macro::fluent_messages! { "../messages.ftl" }