| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-06 | Port `#[path]` to the new attribute parsing infrastructure | Jonathan Brouwer | -0/+1 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-06 | Move check for new attribute to `check_builtin_meta_item` | Jonathan Brouwer | -36/+35 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-05 | Port `#[ignore]` to the new attribute parsing infrastructure | Jonathan Brouwer | -2/+2 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-04 | Port `#[non_exhaustive]` to the new attribute parsing infrastructure | Jonathan Brouwer | -0/+1 | |
| 2025-07-04 | Rollup merge of #143400 - GrigorenkoPV:attributes/lints, r=jdonszelmann | Matthias Krüger | -0/+1 | |
| Port `#[rustc_pass_by_value]` to the new attribute system Part of rust-lang/rust#131229 r? `@oli-obk` | ||||
| 2025-07-04 | Port `#[rustc_pass_by_value]` to the new attribute system | Pavel Grigorenko | -0/+1 | |
| 2025-07-03 | Port `#[no_implicit_prelude]` to the new attribute parsing infrastructure | Jonathan Brouwer | -0/+1 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-03 | Port `#[target_feature]` to the new attribute parsing infrastructure | Jonathan Brouwer | -0/+2 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-01 | Fix duplicate errors for `link_section`, ↵ | Jonathan Brouwer | -0/+3 | |
| `rustc_layout_scalar_valid_range_start` and `rustc_layout_scalar_valid_range_end` | ||||
| 2025-07-01 | Fix `#[rustc_macro_transparency]` giving two errors | Jonathan Brouwer | -0/+1 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-07-01 | Fix double error for `export_name` | Jonathan Brouwer | -0/+1 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-06-28 | Port `#[link_name]` to the new attribute parsing infrastructure | Jonathan Brouwer | -0/+1 | |
| Co-authored-by: Anne Stijns <anstijns@gmail.com> Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-06-24 | Rewrite #[track_caller] | Jana Dönszelmann | -0/+1 | |
| 2025-06-23 | Port `#[rustc_skip_during_method_dispatch]` to the new attribute system | Pavel Grigorenko | -0/+7 | |
| 2025-06-22 | Port `#[must_use]` to new attribute parsing infrastructure | Jonathan Brouwer | -0/+1 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-06-20 | expected word diagnostic test | Jana Dönszelmann | -0/+1 | |
| 2025-06-20 | Rollup merge of #138291 - jdonszelmann:optimize-attr, r=oli-obk | Trevor Gross | -0/+1 | |
| rewrite `optimize` attribute to use new attribute parsing infrastructure r? ```@oli-obk``` I'm afraid we'll get quite a few of these PRs in the future. If we get a lot of trivial changes I'll start merging multiple into one PR. They should be easy to review :) Waiting on #138165 first | ||||
| 2025-06-18 | convert the `optimize` attribute to a new parser | Jana Dönszelmann | -0/+1 | |
| 2025-06-18 | add `#[align]` attribute | Folkert de Vries | -0/+1 | |
| Right now it's used for functions with `fn_align`, in the future it will get more uses (statics, struct fields, etc.) | ||||
| 2025-06-17 | make error codes reflect reality better | Jana Dönszelmann | -1/+8 | |
| 2025-06-17 | use consistent attr errors in all attribute parsers | Jana Dönszelmann | -1/+1 | |
| 2025-06-17 | fix bugs in inline/force_inline and diagnostics of all attr parsers | Jana Dönszelmann | -3/+7 | |
| 2025-06-09 | use correct edition when warning for unsafe attributes | Folkert de Vries | -1/+6 | |
| If an attribute is re-emitted by a macro, the incorrect edition was used to emit warnings for unsafe attributes | ||||
| 2025-05-04 | Make attribute safety validation logic more obvious | Jieyou Xu | -14/+47 | |
| 2025-05-03 | Report the `unsafe_attr_outside_unsafe` lint at the closest node | Urgau | -5/+11 | |
| 2025-04-19 | Make `#[naked]` an unsafe attribute | Folkert de Vries | -6/+0 | |
| 2025-04-14 | Allow (but don't require) `#[unsafe(naked)]` so that `compiler-builtins` can ↵ | Folkert de Vries | -0/+6 | |
| upgrade to it | ||||
| 2025-04-13 | error on unsafe attributes in pre-2024 editions | Folkert de Vries | -2/+8 | |
| the `no_mangle`, `link_section` and `export_name` attributes are exceptions, and can still be used without an unsafe in earlier editions | ||||
| 2025-03-26 | expand: Leave traces when expanding `cfg` attributes | Vadim Petrochenkov | -6/+3 | |
| 2025-03-17 | expand: Leave traces when expanding `cfg_attr` attributes | Vadim Petrochenkov | -1/+1 | |
| 2024-12-21 | Properly record metavar spans for other expansions other than TT | Michael Goulet | -6/+2 | |
| 2024-12-15 | Add hir::Attribute | Jonathan Dönszelmann | -4/+2 | |
| 2024-12-15 | Rename `value` field to `expr` to simplify later commits' diffs | Oli Scherer | -4/+2 | |
| 2024-12-02 | Change `AttrArgs::Eq` into a struct variant | Oli Scherer | -3/+5 | |
| 2024-10-06 | Rename NestedMetaItem to MetaItemInner | codemountains | -3/+3 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -3/+3 | |
| 2024-09-11 | Also fix if in else | Michael Goulet | -7/+5 | |
| 2024-08-07 | Stabilize `unsafe_attributes` | carbotaniuman | -27/+13 | |
| 2024-07-30 | Add toggle for `parse_meta_item` unsafe parsing | carbotaniuman | -41/+41 | |
| This makes it possible for the `unsafe(...)` syntax to only be valid at the top level, and the `NestedMetaItem`s will automatically reject `unsafe(...)`. | ||||
| 2024-07-29 | Deny unsafe on more builtin attributes | carbotaniuman | -56/+92 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -2/+2 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-06-24 | coverage: Tighten validation of `#[coverage(off)]` and `#[coverage(on)]` | Zalathar | -3/+10 | |
| 2024-06-23 | Add hard error and migration lint for unsafe attrs | carbotaniuman | -6/+58 | |
| 2024-06-18 | Prefer `dcx` methods over fields or fields' methods | Oli Scherer | -5/+5 | |
| 2024-06-07 | Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino | Matthias Krüger | -21/+13 | |
| More `rustc_parse` cleanups Following on from #125815. r? `@spastorino` | ||||
| 2024-06-06 | Parse unsafe attributes | carbotaniuman | -0/+1 | |
| 2024-06-06 | Inline and remove `check_builtin_attribute`. | Nicholas Nethercote | -19/+11 | |
| It's small and has a single call site. Also change the second `parse_meta` call to use a simple `match`, like the first `parse_meta` call, instead of a confusing `map_err`+`ok` combination. | ||||
| 2024-06-06 | Reduce `pub` exposure. | Nicholas Nethercote | -3/+3 | |
| 2024-05-21 | Rename buffer_lint_with_diagnostic to buffer_lint | Xiretza | -1/+1 | |
| 2024-05-21 | Convert uses of BuiltinLintDiag::Normal to custom variants | Xiretza | -21/+11 | |
| This ensures all diagnostic messages are created at diagnostic emission time, making them translatable. | ||||
