summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
AgeCommit message (Expand)AuthorLines
2021-06-06Auto merge of #84863 - ABouttefeux:libtest, r=m-ou-sebors-0/+4
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-99/+74
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-1/+3
2021-05-12Implement span quoting for proc-macrosAaron Hill-1/+5
2021-05-05Disallows `#![feature(no_coverage)]` on stable and betaRich Kadel-11/+3
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+3
2021-05-03proof of concept add test type on printsAliénore Bouttefeux-0/+4
2021-04-27adds feature gating of `no_coverage` at either crate- or function-levelRich Kadel-1/+10
2021-04-27Derived Eq no longer shows uncoveredRich Kadel-1/+2
2021-04-16builtin derive macros: fix error with const generics defaultSoveu-2/+13
2021-04-16Remove #[main] attribute.Charles Lew-6/+6
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-55/+167
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-2/+2
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-2/+2
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-25/+32
2021-03-26Use iter::zip in compiler/Josh Stone-5/+4
2021-03-26Rollup merge of #83486 - Aaron1011:fix/global-alloc-error, r=petrochenkovDylan DPC-16/+16
2021-03-25Don't ICE when using `#[global_alloc]` on a non-item statementAaron Hill-16/+16
2021-03-25Refactor #82270 as lint instead of an errorAmanieu d'Antras-65/+30
2021-03-19stabilize or_patternsmark-1/+1
2021-03-18Rollup merge of #82270 - asquared31415:asm-syntax-directive-errors, r=nagisaDylan DPC-1/+72
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-13/+13
2021-03-14Bump recursion_limit in a few placesAaron Hill-0/+1
2021-03-10Rollup merge of #82217 - m-ou-se:edition-prelude, r=nikomatsakisDylan DPC-11/+19
2021-03-08Move default inline asm dialect to Sessionasquared31415-6/+2
2021-03-08Rollup merge of #82682 - petrochenkov:cfgeval, r=Aaron1011Dylan DPC-21/+162
2021-03-07rustc_builtin_macros: Share some more logic between `derive` and `cfg_eval`Vadim Petrochenkov-26/+14
2021-03-07cfg_eval: Configure everything through mutable visitor methodsVadim Petrochenkov-70/+27
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-7/+178
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+31
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-9/+3
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-2/+2
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-4/+3
2021-02-25Pick the injected prelude based on the edition.Mara Bos-11/+19
2021-02-20Remove some P-sDániel Buga-4/+3
2021-02-20Take into account target default syntaxasquared31415-48/+72
2021-02-18Emit error when trying to use assembler syntax directives in `asm!`asquared31415-1/+52
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-7/+6
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-6/+10
2021-02-16avoid full-slicing slicesMatthias Krüger-3/+3
2021-02-10Borrow builder only once in debug deriveTomasz Miąsko-9/+12
2021-02-09fix derive(RustcEncodable, RustcDecodable)Skgland-18/+12
2021-02-09use ufcs in derive(RustDecodable)Skgland-19/+31
2021-02-09use ufcs in derive(RustEncodable)Skgland-20/+40
2021-02-09use ufcs in derive(Ord) and derive(PartialOrd)Skgland-4/+7
2021-02-09Fix derived PartialOrd operatorsTomasz Miąsko-190/+7
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-0/+134
2021-02-03Auto merge of #81294 - pnkfelix:issue-81211-use-ufcs-in-derive-debug, r=oli-obkbors-17/+21
2021-02-02Rollup merge of #81647 - m-ou-se:assert-2021-fix, r=petrochenkovJack Huey-2/+2