about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/builtin_attrs.rs
AgeCommit message (Expand)AuthorLines
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+5
2024-08-15Rollup merge of #128925 - dingxiangfei2009:smart-ptr-helper-attr, r=compiler-...Matthias Krüger-6/+0
2024-08-13`#[deprecated_safe_2024]`: Also use the `// TODO:` hint in the compiler errorTobias Bucher-1/+1
2024-08-13Allow to customize `// TODO:` comment for deprecated safe autofixTobias Bucher-2/+2
2024-08-13derive(SmartPointer): register helper attributesDing Xiang Fei-6/+0
2024-08-03Assert that all attributes are actually checked via `CheckAttrVisitor` and ar...Oli Scherer-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-07-09Auto merge of #127200 - fee1-dead-contrib:trait_def_const_trait, r=compiler-e...bors-1/+1
2024-07-03Add `constness` to `TraitDef`Deadbeef-1/+1
2024-06-30add `rustc_dump_def_parents` attributeBoxy-0/+4
2024-06-28implement new effects desugaringDeadbeef-0/+4
2024-06-28Rollup merge of #124741 - nebulark:patchable-function-entries-pr, r=estebank,...Matthias Krüger-0/+7
2024-06-25Updated code for changes to RFC, added additional error handling, addedFlorian Schmiderer-5/+5
2024-06-25Support `#[patchable_function_entries]`Matthew Maurer-0/+7
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-3/+3
2024-06-24Rollup merge of #126682 - Zalathar:coverage-attr, r=lcnrMichael Goulet-11/+15
2024-06-24Rollup merge of #125575 - dingxiangfei2009:derive-smart-ptr, r=davidtwcoMichael Goulet-0/+6
2024-06-24coverage: Tighten validation of `#[coverage(off)]` and `#[coverage(on)]`Zalathar-10/+14
2024-06-24coverage: Forbid multiple `#[coverage(..)]` attributesZalathar-1/+1
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-4/+0
2024-06-24SmartPointer derive-macroXiangfei Ding-0/+6
2024-06-22Add `#[rustc_dump_{predicates,item_bounds}]`León Orell Valerian Liehr-0/+8
2024-06-19Remove now NOP attrs `#[rustc_dump{,_env}_program_clauses]`León Orell Valerian Liehr-8/+0
2024-06-06Remove extraneous attributecarbotaniuman-1/+0
2024-06-06Add unsafe to `ffi_pure` and `ffi_const`carbotaniuman-2/+2
2024-06-06Error on unsafe on non-unsafe attributecarbotaniuman-0/+4
2024-06-06Reorder `unsafe` macro casescarbotaniuman-12/+12
2024-06-06Parse unsafe attributescarbotaniuman-3/+53
2024-05-29Make `std::env::{set_var, remove_var}` unsafe in edition 2024Tobias Bucher-0/+6
2024-05-22Auto merge of #125326 - weiznich:move/do_not_recommend_to_diganostic_namespac...bors-6/+0
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-6/+0
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-4/+5
2024-05-04Implement do_not_recommend in the new solverMichael Goulet-1/+1
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-4/+0
2024-04-25debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[...Vadim Petrochenkov-6/+3
2024-04-24Add explicit syntax for coroutines instead of relying on closures having `yie...Oli Scherer-0/+6
2024-04-17consistency rename: language item -> lang itemRalf Jung-1/+1
2024-04-11remove some things that do not need to beMatthias Krüger-1/+1
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-0/+1
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-0/+4
2024-03-21Change syntax of the never type attribute thingyMaybe Waffle-2/+5
2024-03-19Change only_local to enum type and change the macros to always require a vari...surechen-202/+272
2024-03-15Add `rustc_never_type_mode = "no_fallback"`Maybe Waffle-1/+1
2024-03-15Add `rustc_never_type_mode` crate-level attribute to allow experimentingMaybe Waffle-0/+7
2024-03-14change some attribute to only_localsurechen-18/+55
2024-03-10diagnostics: Do not suggest using `#[unix_sigpipe]` without a valueMartin Nordholts-1/+1
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-2/+2
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-2/+2
2024-03-05Rollup merge of #122014 - surechen:change_attributes_to_local_20240304, r=lcnrMatthias Krüger-13/+26
2024-03-05Change some attributes to only_local.surechen-13/+26