- Add a `HandleCycleError` enum to rustc_query_system, along with a `handle_cycle_error` function - Move `Value` to rustc_query_system, so `handle_cycle_error` can use it - Move the `Value` impls from rustc_query_impl to rustc_middle. This is necessary due to orphan rules.
26 lines
569 B
Rust
26 lines
569 B
Rust
#![feature(assert_matches)]
|
|
#![feature(core_intrinsics)]
|
|
#![feature(hash_raw_entry)]
|
|
#![feature(let_else)]
|
|
#![feature(min_specialization)]
|
|
#![feature(extern_types)]
|
|
#![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;
|
|
|
|
pub mod cache;
|
|
pub mod dep_graph;
|
|
mod error;
|
|
pub mod ich;
|
|
pub mod query;
|
|
mod values;
|
|
|
|
pub use error::HandleCycleError;
|
|
pub use values::Value;
|