translations(rustc_session): migrate 80% of the file parse.rs

This commit migrates around 80% of the parse file to use SsessionDiagnostic
We still have to migrate struct_err and struct_warn.
This commit is contained in:
Luis Cardoso
2022-08-22 08:28:50 +02:00
parent 706452eba7
commit d5262a9452
5 changed files with 55 additions and 14 deletions

View File

@@ -8,8 +8,6 @@
#![feature(map_many_mut)]
#![recursion_limit = "256"]
#![allow(rustc::potential_query_instability)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#[macro_use]
extern crate rustc_macros;