about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/attrs/data_structures.rs
AgeCommit message (Collapse)AuthorLines
2025-09-26Rollup merge of #146704 - jdonszelmann:port-debug-visualizer, r=petrochenkovMatthias Krüger-1/+18
port `#[debugger_visualizer]` to the new attribute system
2025-09-25Rollup merge of #146667 - calebzulawski:simd-mono-lane-limit, r=lcnr,RalfJungStuart Cook-0/+3
Add an attribute to check the number of lanes in a SIMD vector after monomorphization Allows std::simd to drop the `LaneCount<N>: SupportedLaneCount` trait and maintain good error messages. Also, extends rust-lang/rust#145967 by including spans in layout errors for all ADTs. r? ``@RalfJung`` cc ``@workingjubilee`` ``@programmerjake``
2025-09-23Add an attribute to check the number of lanes in a SIMD vector after ↵Caleb Zulawski-0/+3
monomorphization Unify zero-length and oversized SIMD errors
2025-09-21port `#[debugger_visualizer]` to the new attribute systemJana Dönszelmann-1/+18
2025-09-21Port #[macro_export] to the new attribute parsing infrastructureJonathan Brouwer-0/+3
Co-authored-by: Anne Stijns <anstijns@gmail.com>
2025-09-17port `#[rustc_coherence_is_core]` to the new attribute parsing infrastructureJana Dönszelmann-3/+3
2025-09-13initial implementation of the darwin_objc unstable featureJo Bates-0/+6
2025-09-09port `#[no_std]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-09-09port `#[no_core]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-09-08fixup limit handling codeJana Dönszelmann-4/+5
2025-09-08port `#[pattern_complexity_limit]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-09-08port `#[type_length_limit]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-09-08port `#[move_size_limit]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-09-08port `#[recursion_limit]` to the new attribute parsing infrastructureJana Dönszelmann-0/+3
2025-08-27Port the `#[link]` attribute to the new parserJonathan Brouwer-0/+14
2025-08-27Move `NativeLibKind` from `rustc_session` to `rustc_hir`Jonathan Brouwer-0/+103
2025-08-24Port crate name to the new attribute systemJana Dönszelmann-0/+3
2025-08-23port attribute to the new parsing infrastructureJana Dönszelmann-0/+7
2025-08-22Add an experimental unsafe(force_target_feature) attribute.Luca Versari-2/+3
This uses the feature gate for https://github.com/rust-lang/rust/issues/143352, but is described in https://github.com/rust-lang/rfcs/pull/3820 which is strongly tied to the experiment.
2025-08-20Move `IntoDiagArg` earlier in the dependency chainsJosh Triplett-0/+26
`rustc_errors` depends on numerous crates, solely to implement its `IntoDiagArg` trait on types from those crates. Many crates depend on `rustc_errors`, and it's on the critical path. We can't swap things around to make all of those crates depend on `rustc_errors` instead, because `rustc_errors` would end up in dependency cycles. Instead, move `IntoDiagArg` into `rustc_error_messages`, which has far fewer dependencies, and then have most of these crates depend on `rustc_error_messages`. This allows `rustc_errors` to drop dependencies on several crates, including the large `rustc_target`. (This doesn't fully reduce dependency chains yet, as `rustc_errors` still depends on `rustc_hir` which depends on `rustc_target`. That will get fixed in a subsequent commit.)
2025-08-15Port `#[custom_mir(..)]` to the new attribute systemSasha Pourcelot-0/+19
2025-08-13Port the `#[linkage]` attribute to the new attribute systemSasha Pourcelot-0/+21
2025-08-11Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)Sasha Pourcelot-0/+3
2025-08-08Revert "Port `#[allow_internal_unsafe]` to the new attribute system"Jana Dönszelmann-3/+0
This reverts commit 4f7a6ace9e2f2192af7b5d32f4b1664189e0e143.
2025-08-07Rollup merge of #144857 - scrabsha:push-pwtyrnmqkrtr, r=jdonszelmannTrevor Gross-0/+3
Port `#[allow_internal_unsafe]` to the new attribute system Related to https://github.com/rust-lang/rust/issues/131229#issue-2565886367. r? ````@jdonszelmann````
2025-08-07Port `#[allow_internal_unsafe]` to the new attribute systemSasha Pourcelot-0/+3
2025-08-07Rollup merge of #143808 - JonathanBrouwer:should_panic_parser, r=jdonszelmannStuart Cook-0/+3
Port `#[should_panic]` to the new attribute parsing infrastructure Ports `#[should_panic]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971351163 r? ```@jdonszelmann```
2025-08-06Port `#[should_panic]` to the new attribute parsing infrastructureJonathan Brouwer-0/+3
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-08-04Port `#[coroutine]` to the new attribute systemSasha Pourcelot-0/+3
Related to https://github.com/rust-lang/rust/issues/131229#issue-2565886367.
2025-08-01Remove the omit_gdb_pretty_printer_section attributebjorn3-3/+0
Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-0/+473