about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/builtin_attrs.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+4
2024-03-03Add new `pattern_complexity` attribute to add possibility to limit and check ...Guillaume Gomez-0/+4
2024-02-29Rollup merge of #121740 - surechen:change_attribute_to_local_20240228, r=lcnrJacob Pratt-18/+45
2024-02-28Changing some attributes to only_local.surechen-18/+45
2024-02-27Changing some attributes to only_local.surechen-22/+41
2024-02-26Rollup merge of #121493 - surechen:edit_attribute_only_local, r=lcnrMatthias Krüger-18/+44
2024-02-25Rollup merge of #119590 - ChrisDenton:cfg-target-abi, r=NilstriebMatthias Krüger-1/+0
2024-02-24Stabilize `cfg_target_abi`Chris Denton-1/+0
2024-02-24Add `#[rustc_no_mir_inline]` for standard library UB checksNilstrieb-0/+4
2024-02-23By changing some attributes to only_local, reducing encoding attributes in th...surechen-18/+44
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-0/+4
2024-02-12Implement intrinsics with fallback bodiesOli Scherer-0/+4
2024-02-12Tweak delayed bug mentions.Nicholas Nethercote-1/+1
2024-01-30Remove `ffi_returns_twice` featureclubby789-3/+0
2024-01-17Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)Andrew Zhogin-1/+1
2023-12-23Add missing CFI sanitizer cfgs feature gateUrgau-0/+2
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-6/+0
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-18/+0
2023-10-23Let's see what those opaque types actually areMichael Goulet-0/+1
2023-10-01Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrumbors-0/+4
2023-09-25Gate and validate #[rustc_safe_intrinsic]León Orell Valerian Liehr-1/+4
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+4