1
Fork 0

Moved structs to rustc_expand::errors, added several more migrations, fixed slug name

This commit is contained in:
nidnogg 2022-08-17 11:18:19 -03:00
parent 72ce216def
commit c6f9a9c410
5 changed files with 70 additions and 36 deletions

View file

@ -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 {