mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-06 06:57:42 +00:00

This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
34 lines
765 B
Rust
34 lines
765 B
Rust
#![feature(assert_matches)]
|
|
#![feature(core_intrinsics)]
|
|
#![feature(hash_raw_entry)]
|
|
#![feature(min_specialization)]
|
|
#![feature(extern_types)]
|
|
#![feature(let_chains)]
|
|
#![allow(rustc::potential_query_instability)]
|
|
#![deny(rustc::untranslatable_diagnostic)]
|
|
#![deny(rustc::diagnostic_outside_of_impl)]
|
|
|
|
#[macro_use]
|
|
extern crate tracing;
|
|
#[macro_use]
|
|
extern crate rustc_data_structures;
|
|
#[macro_use]
|
|
extern crate rustc_macros;
|
|
|
|
use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
|
|
use rustc_macros::fluent_messages;
|
|
|
|
pub mod cache;
|
|
pub mod dep_graph;
|
|
mod error;
|
|
pub mod ich;
|
|
pub mod query;
|
|
mod values;
|
|
|
|
pub use error::HandleCycleError;
|
|
pub use error::LayoutOfDepth;
|
|
pub use error::QueryOverflow;
|
|
pub use values::Value;
|
|
|
|
fluent_messages! { "../messages.ftl" }
|