about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/macros.rs
AgeCommit message (Expand)AuthorLines
2021-09-30Remove visible path calculation from allowed deprecation lintAlik Aslanyan-1/+1
2021-09-25Auto merge of #87220 - petrochenkov:derivecfglimit2, r=Aaron1011bors-32/+0
2021-09-24Stabilize `feature(macro_attributes_in_derive_output)`Vadim Petrochenkov-32/+0
2021-09-24resolve: Refactor obtaining `Module` from its `DefId`Vadim Petrochenkov-1/+1
2021-09-24resolve: Use a single common map for local and foreign modulesVadim Petrochenkov-4/+5
2021-09-24resolve: Rename some expansion def scope methodsVadim Petrochenkov-4/+3
2021-09-24resolve: Do not cache nearest parent mod in `ModuleData`Vadim Petrochenkov-1/+1
2021-09-10Record call_site parent for macros.Camille GILLOT-0/+4
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-0/+4
2021-08-22Stop tracking namespce in used_imports.Mara Bos-1/+1
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-10/+6
2021-07-17Use LocalExpnId where possible.Camille GILLOT-13/+22
2021-07-13Cache expansion hash.Camille GILLOT-17/+23
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-5/+1
2021-07-06Store macro parent module in ExpnData.Camille GILLOT-15/+9
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-1/+1
2021-05-12Implement span quoting for proc-macrosAaron Hill-2/+10
2021-04-04resolve: Stable order for derive helper attributesVadim Petrochenkov-5/+8
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-38/+49
2021-03-27resolve: Partially unify early and late scope-relative ident resolutionVadim Petrochenkov-5/+22
2021-03-25Ban custom inner attributes in expressions and statementsAaron Hill-6/+15
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-2/+25
2021-03-12Make def_key and HIR parenting consistent.Camille GILLOT-1/+1
2021-02-07Feature gate macro attributes in `#[derive]` outputVadim Petrochenkov-0/+30
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-65/+80
2021-02-03Refactor out PrimitiveTypeTableCameron Steffen-6/+5
2021-01-28Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lintAaron Hill-0/+2
2021-01-17resolve: Reject ambiguity built-in attr vs different built-in attrVadim Petrochenkov-3/+9
2021-01-12Rollup merge of #80870 - petrochenkov:bmactable, r=oli-obkYuki Okushi-5/+7
2021-01-10Auto merge of #80782 - petrochenkov:viscopes, r=matthewjasperbors-2/+3
2021-01-10resolve: Simplify built-in macro tableVadim Petrochenkov-5/+7
2021-01-09Allow #[rustc_builtin_macro = "name"].Mara Bos-3/+3
2021-01-07resolve: Scope visiting doesn't need an `Ident`Vadim Petrochenkov-2/+3
2021-01-06Rename to `nearest_parent_mod`Camelid-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-11-20rustc_expand: Mark inner `#![test]` attributes as soft-unstableVadim Petrochenkov-15/+14
2020-11-19resolve/expand: Misc cleanupVadim Petrochenkov-5/+1
2020-11-19resolve: Centralize some error reporting for unexpected macro resolutionsVadim Petrochenkov-40/+58
2020-11-19resolve: Introduce a separate `NonMacroAttrKind` for legacy derive helpersVadim Petrochenkov-17/+11
2020-11-18Rollup merge of #78999 - petrochenkov:deprid, r=eddybMara Bos-0/+1
2020-11-14rustc_resolve: Make `macro_rules` scope chain compression lazyVadim Petrochenkov-23/+3
2020-11-12stability: More precise location for deprecation lint on macrosVadim Petrochenkov-0/+1
2020-11-07resolve: Collapse `macro_rules` scope chains on the flyVadim Petrochenkov-2/+28
2020-10-24resolve: Relax macro resolution consistency check to account for any errorsVadim Petrochenkov-4/+4
2020-09-01Give a better error message for duplicate built-in macrosJoshua Nelson-4/+18
2020-08-30mv compiler to compiler/mark-0/+1091