about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/lints.rs
AgeCommit message (Collapse)AuthorLines
2025-09-27improve empty attribute diagnosticJana Dönszelmann-7/+8
2025-09-21Port #[macro_export] to the new attribute parsing infrastructureJonathan Brouwer-5/+30
Co-authored-by: Anne Stijns <anstijns@gmail.com>
2025-08-25Use attribute name in message for "outer attr used as inner attr" errorsSasha Pourcelot-0/+1
2025-08-21refactor target checking, move out of context.rs and rename MaybeWarn to PolicyJana Dönszelmann-3/+3
2025-08-14Allow attribute parsers to specify a list of allowed targetsJonathan Brouwer-2/+3
Every acceptor gets an `ALLOWED_TARGETS` specification which can specify per target whether it is allowed, warned, or errored.
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-6/+20
2025-06-12introduce new lint infraJana Dönszelmann-0/+23
lint on duplicates during attribute parsing To do this we stuff them in the diagnostic context to be emitted after hir is constructed