diff options
| author | nidnogg <henriquevt98@gmail.com> | 2022-08-17 11:18:19 -0300 |
|---|---|---|
| committer | nidnogg <henriquevt98@gmail.com> | 2022-08-17 11:18:19 -0300 |
| commit | c6f9a9c410e063f59bc2f6958674099b3fe5f184 (patch) | |
| tree | 5952411a6f83af897bde1581f89307aed87e29e7 /compiler/rustc_errors/src | |
| parent | 72ce216def236055f5bee03d06085d0ec9c270a9 (diff) | |
| download | rust-c6f9a9c410e063f59bc2f6958674099b3fe5f184.tar.gz rust-c6f9a9c410e063f59bc2f6958674099b3fe5f184.zip | |
Moved structs to rustc_expand::errors, added several more migrations, fixed slug name
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs index 17e6c9e9575..356f9dfdb3b 100644 --- a/compiler/rustc_errors/src/diagnostic.rs +++ b/compiler/rustc_errors/src/diagnostic.rs @@ -8,7 +8,7 @@ use rustc_error_messages::FluentValue; use rustc_hir as hir; use rustc_lint_defs::{Applicability, LintExpectationId}; use rustc_span::edition::LATEST_STABLE_EDITION; -use rustc_span::symbol::{Ident, Symbol}; +use rustc_span::symbol::{Ident, MacroRulesNormalizedIdent, Symbol}; use rustc_span::{edition::Edition, Span, DUMMY_SP}; use std::borrow::Cow; use std::fmt; @@ -87,6 +87,7 @@ into_diagnostic_arg_using_display!( hir::Target, Edition, Ident, + MacroRulesNormalizedIdent, ); impl IntoDiagnosticArg for bool { |
