rustc_structures/lib.rs
1//! Basic structs that end up being used in attributes for one reason or another,
2//! but are not used exclusively in or around attributes.
3#![deny(unstable_features, reason = "ends up in dependencies of rust-analyzer")]
4
5mod collapse_macro_debug_info;
6mod crate_type;
7mod limit;
8mod lint;
9mod native_lib_kind;
10mod sanitizer_set;
11
12pub use collapse_macro_debug_info::CollapseMacroDebuginfo;
13pub use crate_type::CrateType;
14pub use limit::Limit;
15pub use lint::LintName;
16pub use native_lib_kind::NativeLibKind;
17pub use sanitizer_set::SanitizerSet;
18
19#[cfg(test)]
20mod tests;