diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-15 00:01:44 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-21 11:43:22 -0400 |
| commit | e52e2344dc574922ce4f8ddfd508f8bfdec3f404 (patch) | |
| tree | eeb9ec3b3c8ff3aa0bc879378a1519a861e2c855 /compiler/rustc_attr/src | |
| parent | 5f91719f75a1012f4b59391fd89a20bb989b2801 (diff) | |
| download | rust-e52e2344dc574922ce4f8ddfd508f8bfdec3f404.tar.gz rust-e52e2344dc574922ce4f8ddfd508f8bfdec3f404.zip | |
FIX - adopt new Diagnostic naming in newly migrated modules
FIX - ambiguous Diagnostic link in docs UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic [Gardening] FIX - formatting via `x fmt` FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way DELETE - unneeded allow attributes in Handler method FIX - broken test FIX - Rebase conflict UPDATE - rename residual _SessionDiagnostic and fix LintDiag link
Diffstat (limited to 'compiler/rustc_attr/src')
| -rw-r--r-- | compiler/rustc_attr/src/session_diagnostics.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_attr/src/session_diagnostics.rs b/compiler/rustc_attr/src/session_diagnostics.rs index 940a48ed915..d3e9a16a9a8 100644 --- a/compiler/rustc_attr/src/session_diagnostics.rs +++ b/compiler/rustc_attr/src/session_diagnostics.rs @@ -2,8 +2,7 @@ use std::num::IntErrorKind; use rustc_ast as ast; use rustc_errors::{ - error_code, fluent, Applicability, DiagnosticBuilder, IntoDiagnostic, ErrorGuaranteed, - Handler, + error_code, fluent, Applicability, DiagnosticBuilder, ErrorGuaranteed, Handler, IntoDiagnostic, }; use rustc_macros::Diagnostic; use rustc_span::{Span, Symbol}; |
