diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-06 15:56:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-06 15:56:12 +0200 |
| commit | 017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff (patch) | |
| tree | 80a9e02d609b274c2cfcd6d5e74711ee9c96ce90 /compiler/rustc_attr_data_structures/src/lints.rs | |
| parent | c83e217d268d25960a0c79c6941bcb3917a6a0af (diff) | |
| parent | 33f2cc7eda7a97e2870f9c60a229211a5f416b7a (diff) | |
| download | rust-017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff.tar.gz rust-017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff.zip | |
Rollup merge of #143252 - JonathanBrouwer:rewrite_empty_attribute, r=jdonszelmann
Rewrite empty attribute lint for new attribute parser cc `@jdonszelmann`
Diffstat (limited to 'compiler/rustc_attr_data_structures/src/lints.rs')
| -rw-r--r-- | compiler/rustc_attr_data_structures/src/lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_attr_data_structures/src/lints.rs b/compiler/rustc_attr_data_structures/src/lints.rs index e34c54c6d32..60ca4d43ce9 100644 --- a/compiler/rustc_attr_data_structures/src/lints.rs +++ b/compiler/rustc_attr_data_structures/src/lints.rs @@ -12,4 +12,5 @@ pub struct AttributeLint<Id> { pub enum AttributeLintKind { UnusedDuplicate { this: Span, other: Span, warning: bool }, IllFormedAttributeInput { suggestions: Vec<String> }, + EmptyAttribute { first_span: Span }, } |
