Skip to content

Commit b9952bb

Browse files
committed
impl IntoDiagArg for AttrPath
1 parent bec7474 commit b9952bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_errors/src/diagnostic_impls.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use std::process::ExitStatus;
88
use rustc_abi::TargetDataLayoutErrors;
99
use rustc_ast::util::parser::ExprPrecedence;
1010
use rustc_ast_pretty::pprust;
11-
use rustc_hir::RustcVersion;
1211
use rustc_hir::attrs::{MirDialect, MirPhase};
12+
use rustc_hir::{AttrPath, RustcVersion};
1313
use rustc_macros::Subdiagnostic;
1414
use rustc_span::edition::Edition;
1515
use rustc_span::{Ident, MacroRulesNormalizedIdent, Span, Symbol};
@@ -96,6 +96,7 @@ into_diag_arg_using_display!(
9696
ExitStatus,
9797
ErrCode,
9898
rustc_abi::ExternAbi,
99+
AttrPath,
99100
);
100101

101102
impl IntoDiagArg for RustcVersion {

0 commit comments

Comments
 (0)