Skip to content

Commit bdb74ba

Browse files
committed
impl IntoDiagArg for AttrPath
1 parent 1ae7c49 commit bdb74ba

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,7 +8,7 @@ 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;
11+
use rustc_hir::{AttrPath, RustcVersion};
1212
use rustc_macros::Subdiagnostic;
1313
use rustc_span::edition::Edition;
1414
use rustc_span::{Ident, MacroRulesNormalizedIdent, Span, Symbol};
@@ -95,6 +95,7 @@ into_diag_arg_using_display!(
9595
ExitStatus,
9696
ErrCode,
9797
rustc_abi::ExternAbi,
98+
AttrPath,
9899
);
99100

100101
impl IntoDiagArg for RustcVersion {

0 commit comments

Comments
 (0)