incremental: migrate diagnostics
Migrate the `rustc_incremental` crate's diagnostics to translatable diagnostic structs. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
2575b1abc9
commit
2ff46641a9
13 changed files with 617 additions and 253 deletions
|
@ -2,8 +2,11 @@
|
|||
|
||||
#![deny(missing_docs)]
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
|
||||
#![feature(never_type)]
|
||||
#![recursion_limit = "256"]
|
||||
#![allow(rustc::potential_query_instability)]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate rustc_middle;
|
||||
|
@ -12,6 +15,7 @@ extern crate tracing;
|
|||
|
||||
mod assert_dep_graph;
|
||||
pub mod assert_module_sources;
|
||||
mod errors;
|
||||
mod persist;
|
||||
|
||||
use assert_dep_graph::assert_dep_graph;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue