mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 19:46:01 +00:00
That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.
28 lines
531 B
Rust
28 lines
531 B
Rust
#![feature(decl_macro)]
|
|
#![feature(error_iter)]
|
|
#![feature(lazy_cell)]
|
|
#![feature(let_chains)]
|
|
#![feature(thread_spawn_unchecked)]
|
|
#![feature(try_blocks)]
|
|
|
|
#[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" }
|