summary refs log tree commit diff
path: root/src/librustc_resolve/macros.rs
AgeCommit message (Expand)AuthorLines
2018-10-18Revert "rustc_resolve: move extern_prelude from Resolver to Session."Vadim Petrochenkov-1/+1
2018-10-04resolve: Prefer `macro_rules` definitions to in-module macro definitions in s...Vadim Petrochenkov-1/+4
2018-10-02resolve: Do not block derive helper resolutions on single import resolutionsVadim Petrochenkov-10/+10
2018-10-02rustc_resolve: move extern_prelude from Resolver to Session.Eduard-Mihai Burtescu-1/+1
2018-09-21Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all edi...Eduard-Mihai Burtescu-8/+0
2018-09-17Auto merge of #54277 - petrochenkov:afterder, r=alexcrichtonbors-6/+15
2018-09-16resolve: Do not error on access to proc macros imported with `#[macro_use]`Vadim Petrochenkov-73/+0
2018-09-16Temporarily prohibit proc macro attributes placed after derivesVadim Petrochenkov-6/+15
2018-09-14Auto merge of #54069 - petrochenkov:subns, r=aturonbors-11/+18
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-5/+5
2018-09-13resolve: Introduce two sub-namespaces in macro namespaceVadim Petrochenkov-11/+18
2018-09-13resolve: Future proof derive helper attributesVadim Petrochenkov-38/+36
2018-09-13resolve: Put different parent scopes into a single structureVadim Petrochenkov-53/+81
2018-09-11Split `CrateNum` into an enum instead of having magic constantsOliver Schneider-5/+5
2018-09-11resolve: Reserve a few very special names in macro namespaceVadim Petrochenkov-0/+3
2018-09-11resolve: Skip bang macros when resolving potentially built-in attributesVadim Petrochenkov-30/+26
2018-09-11resolve: Future proof resolutions for potentially built-in attributesVadim Petrochenkov-0/+20
2018-09-11resolve: Support resolving identifier macros without their own IDVadim Petrochenkov-30/+33
2018-09-10resolve: Remove `unshadowable_attrs`Vadim Petrochenkov-27/+24
2018-09-10resolve: Split macro prelude into built-in and user-defined partsVadim Petrochenkov-26/+30
2018-09-09Auto merge of #53778 - petrochenkov:shadrelax2, r=nikomatsakisbors-129/+167
2018-09-09Auto merge of #53902 - dtolnay:group, r=petrochenkovbors-2/+3
2018-09-08Track distinct spans for open and close delimiterDavid Tolnay-2/+3
2018-09-08resolve: More precise spans for ambiguous resolution errorsVadim Petrochenkov-6/+4
2018-09-08resolve: Further simplify legacy scopes, add commentsVadim Petrochenkov-38/+42
2018-09-08resolve: Rename some fields related to legacy macro scopesVadim Petrochenkov-40/+47
2018-09-08resolve: Introduce "may appear after" abstraction for macro path resolutionsVadim Petrochenkov-19/+23
2018-09-08resolve: Cleanup two main macro resolution functions, tweak some commentsVadim Petrochenkov-64/+50
2018-09-08resolve: Model shadowing restriction for macro_rules after modern macrosVadim Petrochenkov-23/+16
2018-09-08resolve: Model `resolve_legacy_scope` after `resolve_lexical_macro_path_segment`Vadim Petrochenkov-33/+91
2018-09-08resolve: Partially unify bindings from macro_rules and from other itemsVadim Petrochenkov-26/+14
2018-09-04Move #[test_case] to a syntax extensionJohn Renner-1/+1
2018-09-04Fix #[test] shadowing in macro_preludeJohn Renner-2/+21
2018-09-04Introduce Custom Test FrameworksJohn Renner-0/+4
2018-08-23Auto merge of #53384 - gootorov:use-servo-smallvec, r=michaelwoeristerbors-0/+1
2018-08-23Auto merge of #53459 - petrochenkov:stabmore, r=nrcbors-15/+0
2018-08-23Use optimized SmallVec implementationIgor Gutorov-0/+1
2018-08-23Stabilize a few secondary macro featuresVadim Petrochenkov-15/+0
2018-08-22Rollup merge of #53504 - ekse:suggestions-applicability-2, r=estebankGuillaume Gomez-3/+15
2018-08-21resolve: Unify reporting of ambiguity errors for macro pathsVadim Petrochenkov-9/+11
2018-08-20resolve: Refactor away `MacroBinding`Vadim Petrochenkov-105/+71
2018-08-20resolve: Consolidate error reporting for resolved macros in `fn resolve_macro...Vadim Petrochenkov-112/+94
2018-08-20resolve: Move derive attribute detection closer to other macro ident resoluti...Vadim Petrochenkov-61/+53
2018-08-20Set applicability for more suggestions.Sébastien Duquette-3/+15
2018-08-17Stabilize `use_extern_macros`Vadim Petrochenkov-41/+7
2018-08-14rustc_resolve: fix special-case for one-segment import paths.Eduard-Mihai Burtescu-6/+18
2018-08-12Prohibit using macro-expanded `macro_export` macros through module-relative p...Vadim Petrochenkov-2/+0
2018-08-11Do not consider built-in attributes as candidates when resolving non-attribut...Vadim Petrochenkov-1/+4
2018-08-11Feature gate arbitrary tokens in non-macro attributes with a separate gateVadim Petrochenkov-7/+26
2018-08-06Address review commentsVadim Petrochenkov-2/+8