mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 03:56:01 +00:00
Instead of allowing `rustc::potential_query_instability` on the whole crate we go over each lint and allow it individually if it is safe to do. Turns out all instances were safe to allow in this crate.
32 lines
685 B
Rust
32 lines
685 B
Rust
#![feature(box_patterns)]
|
|
#![feature(decl_macro)]
|
|
#![feature(internal_output_capture)]
|
|
#![feature(thread_spawn_unchecked)]
|
|
#![feature(lazy_cell)]
|
|
#![feature(let_chains)]
|
|
#![feature(try_blocks)]
|
|
#![recursion_limit = "256"]
|
|
#![deny(rustc::untranslatable_diagnostic)]
|
|
#![deny(rustc::diagnostic_outside_of_impl)]
|
|
|
|
#[macro_use]
|
|
extern crate tracing;
|
|
|
|
mod callbacks;
|
|
mod errors;
|
|
pub mod interface;
|
|
mod passes;
|
|
mod proc_macro_decls;
|
|
mod queries;
|
|
pub mod util;
|
|
|
|
pub use callbacks::setup_callbacks;
|
|
pub use interface::{run_compiler, Config};
|
|
pub use passes::DEFAULT_QUERY_PROVIDERS;
|
|
pub use queries::Queries;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|
|
|
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|