summary refs log tree commit diff
path: root/compiler/rustc_attr
AgeCommit message (Collapse)AuthorLines
2020-09-27Remove `rustc_allow_const_fn_ptr`Dylan MacKenzie-24/+7
This was a hack to work around the lack of an escape hatch for the "min `const fn`" checks in const-stable functions. Now that we have co-opted `allow_internal_unstable` for this purpose, we no longer need the bespoke attribute.
2020-09-25Allow multiple allow_internal_unstable attributesDániel Buga-7/+14
Co-authored-by: varkor <github@varkor.com>
2020-09-23Don't use an if guard to check equality with a constantLingMan-1/+1
Match on it directly instead
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-2/+2
2020-08-30mv compiler to compiler/mark-0/+1083