]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_attr/src/lib.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / compiler / rustc_attr / src / lib.rs
CommitLineData
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
12extern crate rustc_macros;
13
9ffffee4
FG
14use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
15use rustc_macros::fluent_messages;
16
74b04a01 17mod builtin;
f2b60f7d 18mod session_diagnostics;
74b04a01
XL
19
20pub use builtin::*;
21pub use IntType::*;
22pub use ReprAttr::*;
23pub use StabilityLevel::*;
24
25pub use rustc_ast::attr::*;
26
27pub(crate) use rustc_ast::HashStableContext;
9ffffee4
FG
28
29fluent_messages! { "../locales/en-US.ftl" }