about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src
AgeCommit message (Expand)AuthorLines
2025-08-30Remove incorrect FIXMEJonathan Brouwer-1/+1
2025-08-28Rollup merge of #145937 - jdonszelmann:doc-hidden-prelude, r=fmeaseGuillaume Gomez-1/+11
2025-08-28Improve error messages around invalid literals in attribute argumentsJonathan Brouwer-23/+36
2025-08-28Rollup merge of #143193 - JonathanBrouwer:link_rework, r=jdonszelmannStuart Cook-4/+515
2025-08-27Port the `#[link]` attribute to the new parserJonathan Brouwer-4/+514
2025-08-27Move `NativeLibKind` from `rustc_session` to `rustc_hir`Jonathan Brouwer-0/+1
2025-08-27add doc-hidden to exports in attribute preludeJana Dönszelmann-1/+11
2025-08-27Use `AcceptContext` in `AttribueParser::check_target`Sasha Pourcelot-29/+17
2025-08-26Rollup merge of #145792 - scrabsha:push-umpytyxunpxq, r=jdonszelmannSamuel Tardieu-10/+94
2025-08-25Use attribute name in message for "outer attr used as inner attr" errorsSasha Pourcelot-10/+94
2025-08-24Warn on macro calls for attributes that had this behaviour previouslyJonathan Brouwer-11/+27
2025-08-24fix ICE on stable related to attrs on macrosJana Dönszelmann-29/+12
2025-08-24Port crate name to the new attribute systemJana Dönszelmann-9/+43
2025-08-24Support lints in early attribute parsingJana Dönszelmann-12/+32
2025-08-24Allow errors to be emitted as fatal during attribute parsingJana Dönszelmann-22/+43
2025-08-23port attribute to the new parsing infrastructureJana Dönszelmann-7/+110
2025-08-22Rollup merge of #145762 - jdonszelmann:attrs-strings-to-symbols, r=lqdJacob Pratt-31/+36
2025-08-22Rollup merge of #145573 - veluca93:unsafe-force-target-feature, r=davidtwcoJacob Pratt-42/+81
2025-08-22convert strings to symbols in attr diagnosticsJana Dönszelmann-31/+36
2025-08-22Use the new attribute parser throughout the codebaseJonathan Brouwer-26/+55
2025-08-22Rewrite the new attribute parserJonathan Brouwer-232/+284
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-1/+395
2025-08-22Add an experimental unsafe(force_target_feature) attribute.Luca Versari-42/+81
2025-08-21split up context.rsJana Dönszelmann-329/+359
2025-08-21Introduce a prelude for very common imports across dozens of filesJana Dönszelmann-216/+70
2025-08-21refactor target checking, move out of context.rs and rename MaybeWarn to PolicyJana Dönszelmann-324/+402
2025-08-19Auto merge of #145601 - jieyouxu:rollup-t5mbqhc, r=jieyouxubors-0/+1
2025-08-19Rollup merge of #145556 - JonathanBrouwer:extern-crate-stable, r=jdonszelmann许杰友 Jieyou Xu (Joe)-0/+1
2025-08-19Rollup merge of #145500 - JonathanBrouwer:must_use_target, r=jdonszelmann许杰友 Jieyou Xu (Joe)-2/+22
2025-08-19Port `must_use` to the new target checkingJonathan Brouwer-2/+18
2025-08-19Make tool-only suggestion to remove attributes on invalid targetsJonathan Brouwer-0/+4
2025-08-19Rollup merge of #145243 - jdonszelmann:inner-attr-errors, r=petrochenkovStuart Cook-11/+29
2025-08-18Allow stability attributes on extern cratesJonathan Brouwer-0/+1
2025-08-18Rollup merge of #145485 - JonathanBrouwer:fix-deprecation-targets, r=jdonszel...Stuart Cook-0/+5
2025-08-16take attr style into account in attr diagnosticsJana Dönszelmann-11/+29
2025-08-16Fix deprecation attribute on foreign statics & typesJonathan Brouwer-0/+2
2025-08-16Don't show foreign types as an allowed target if the feature is not enabledJonathan Brouwer-0/+3
2025-08-15Port `#[custom_mir(..)]` to the new attribute systemSasha Pourcelot-0/+143
2025-08-14Specify the list of allowed targets per attributeJonathan Brouwer-44/+361
2025-08-14Allow attribute parsers to specify a list of allowed targetsJonathan Brouwer-11/+293
2025-08-14Pass the target type down to `parse_attribute_list`Jonathan Brouwer-1/+5
2025-08-13Port the `#[linkage]` attribute to the new attribute systemSasha Pourcelot-2/+77
2025-08-12Rollup merge of #145238 - estebank:attr-overhaul, r=jdonszelmannStuart Cook-55/+101
2025-08-11Rework `NameValueStr`Esteban Küber-1/+1
2025-08-11Add more docs to templates for attrs with incorrect argumentsEsteban Küber-14/+52
2025-08-11Add link to invalid `repr` errorEsteban Küber-0/+1
2025-08-11Allow attr entries to declare list of alternatives for `List` and `NamedValue...Esteban Küber-47/+54
2025-08-11Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)Sasha Pourcelot-1/+12
2025-08-08Revert "Port `#[allow_internal_unsafe]` to the new attribute system"Jana Dönszelmann-12/+1
2025-08-07Rollup merge of #144857 - scrabsha:push-pwtyrnmqkrtr, r=jdonszelmannTrevor Gross-1/+12