diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-26 23:25:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 23:25:02 +0200 |
| commit | fbf247dd31fd2610fc9d565d937a5d3b03d7312e (patch) | |
| tree | c52a48a3a90c75be7acce1f1e55bf30052e80e13 /compiler/rustc_hir/src | |
| parent | 87ab2c8355cbed4973dc16a6c89de4567fc5e47f (diff) | |
| parent | a8e9ca195e8345fc574420418d2fd3aed258f703 (diff) | |
| download | rust-fbf247dd31fd2610fc9d565d937a5d3b03d7312e.tar.gz rust-fbf247dd31fd2610fc9d565d937a5d3b03d7312e.zip | |
Rollup merge of #145792 - scrabsha:push-umpytyxunpxq, r=jdonszelmann
Use attribute name in message for "outer attr used as inner attr" errors
Diffstat (limited to 'compiler/rustc_hir/src')
| -rw-r--r-- | compiler/rustc_hir/src/lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/lints.rs b/compiler/rustc_hir/src/lints.rs index 061ec786dc8..0b24052b453 100644 --- a/compiler/rustc_hir/src/lints.rs +++ b/compiler/rustc_hir/src/lints.rs @@ -35,4 +35,5 @@ pub enum AttributeLintKind { IllFormedAttributeInput { suggestions: Vec<String> }, EmptyAttribute { first_span: Span }, InvalidTarget { name: AttrPath, target: Target, applied: Vec<String>, only: &'static str }, + InvalidStyle { name: AttrPath, is_used_as_inner: bool, target: Target, target_span: Span }, } |
