Migrate rustc_ty_utils to use SessionDiagnostic
This commit is contained in:
parent
8a13871b69
commit
01c1616b25
8 changed files with 209 additions and 95 deletions
|
@ -10,6 +10,8 @@
|
|||
#![feature(never_type)]
|
||||
#![feature(box_patterns)]
|
||||
#![recursion_limit = "256"]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate rustc_middle;
|
||||
|
@ -21,6 +23,7 @@ use rustc_middle::ty::query::Providers;
|
|||
mod assoc;
|
||||
mod common_traits;
|
||||
mod consts;
|
||||
mod errors;
|
||||
mod implied_bounds;
|
||||
pub mod instance;
|
||||
mod needs_drop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue