about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check
AgeCommit message (Collapse)AuthorLines
2022-09-28Auto merge of #100719 - CohenArthur:rust-safe-intrinsic-attribute, r=wesleywiserbors-5/+22
Add `#[rustc_safe_intrinsic]` This PR adds the `#[rustc_safe_intrinsic]` attribute as mentionned on Zulip. The goal of this attribute is to avoid keeping a list of symbols as the source for stable intrinsics, and instead rely on an attribute. This is similar to `#[rustc_const_stable]` and `#[rustc_const_unstable]`, which among other things, are used to mark the constness of intrinsic functions.
2022-09-28rustc_safe_intrinsic: Keep list of safe intrinsics within the compilerArthur Cohen-3/+59
2022-09-28Deduplicate some logicmejrs-47/+27
2022-09-27Address feedbackmejrs-16/+45
2022-09-27Wrapper suggestionsmejrs-67/+146
2022-09-27attributes: Add #[rustc_safe_intrinsic] builtinArthur Cohen-48/+9
2022-09-27rustc_typeck to rustc_hir_analysislcnr-0/+39459