summary refs log tree commit diff
path: root/src/librustc_resolve/macros.rs
AgeCommit message (Expand)AuthorLines
2019-09-13Support "soft" feature-gating using a lintVadim Petrochenkov-2/+2
2019-09-02expand: Keep the correct current expansion ID for eager expansionsVadim Petrochenkov-7/+9
2019-08-10resolve: Remove remaining special cases from built-in macrosVadim Petrochenkov-2/+0
2019-08-10resolve: Address FIXME from the previous commitVadim Petrochenkov-4/+2
2019-08-10resolve: Move some more code aroundVadim Petrochenkov-77/+3
2019-08-10resolve: Turn `resolve_error` into a method on `Resolver`Vadim Petrochenkov-3/+2
2019-08-10resolve: Remove `Deref<Target=Resolver>` implementationsVadim Petrochenkov-2/+2
2019-08-10resolve: Track whole parent scope in the visitorsVadim Petrochenkov-4/+7
2019-08-10resolve: Move late resolution into a separate visitorVadim Petrochenkov-31/+30
2019-08-03Move special treatment of `derive(Copy, PartialEq, Eq)` from expansion infras...Vadim Petrochenkov-3/+31
2019-07-26Introduce built-in macros through libcoreVadim Petrochenkov-30/+40
2019-07-19hygiene: Tweak naming some moreVadim Petrochenkov-4/+4
2019-07-19Adjust other names after the `Mark` renamingVadim Petrochenkov-10/+10
2019-07-19libsyntax: Remove `Mark` into `ExpnId`Vadim Petrochenkov-16/+16
2019-07-18resolve: Support resolving macro paths without macro kind restrictionsVadim Petrochenkov-7/+11
2019-07-18resolve: Move some common code into the scope visitorVadim Petrochenkov-88/+60
2019-07-18resolve: Visit all scopes to collect suggestion candidates for unresolved macrosVadim Petrochenkov-5/+5
2019-07-18resolve: Use `feature(custom_attribute)` fallback only if the feature is enabledVadim Petrochenkov-18/+3
2019-07-18resolve: Decouple scope visiting process from visitor actionsVadim Petrochenkov-138/+47
2019-07-18resolve: Rename `WhereToResolve` into `Scope`Vadim Petrochenkov-64/+40
2019-07-18resolve: Move some diagnostic code into `diagnostics.rs`Vadim Petrochenkov-117/+2
2019-07-11expand: Move "derive containers" into a separate `InvocationKind` variantVadim Petrochenkov-4/+4
2019-07-11hygiene: Introduce a helper method for creating new expansionsVadim Petrochenkov-2/+5
2019-07-11resolve: Fix access to extern and stdlib prelude from opaque macrosVadim Petrochenkov-0/+1
2019-07-11resolve: Divide macro path resolution into speculative and error reporting partsVadim Petrochenkov-51/+50
2019-07-11resolve: Include stdlib prelude into name lookup in macro namespaceVadim Petrochenkov-2/+2
2019-07-11resolve/expand: Catch macro kind mismatches early in resolveVadim Petrochenkov-1/+12
2019-07-11resolve/expand: `resolve_macro_invocation` no longer returns determinate errorsVadim Petrochenkov-39/+27
2019-07-11resolve: Make proc macro stubs less stubbyVadim Petrochenkov-24/+52
2019-07-11def_collector: Simplify tracking of macro invocation parentsVadim Petrochenkov-48/+22
2019-07-11hygiene: Reuse `MacroKind` in `ExpnKind`Vadim Petrochenkov-19/+19
2019-07-11expand: Get rid of `resolve_macro_path`Vadim Petrochenkov-7/+0
2019-07-11Remove `MacroKind::ProcMacroStub`Vadim Petrochenkov-11/+10
2019-07-09Resolve `$crate` in all hygienic contexts for pretty-pringingVadim Petrochenkov-19/+8
2019-07-07Address review comments + Fix rebaseVadim Petrochenkov-1/+1
2019-07-07syntax: Migrate built-in macros to the regular stability checkingVadim Petrochenkov-3/+2
2019-07-07Support deprecation checking for macrosVadim Petrochenkov-11/+26
2019-07-07resolve: Use standard stability diagnostics for macrosVadim Petrochenkov-8/+7
2019-07-07syntax: Keep full `Stability` in `SyntaxExtension`Vadim Petrochenkov-8/+10
2019-07-07resolve: Check stability for local macros as wellVadim Petrochenkov-11/+10
2019-07-07resolve/expand: Move macro stability checking to an earlier pointVadim Petrochenkov-3/+14
2019-07-07syntax: Remove `NodeId` from `SyntaxExtension`Vadim Petrochenkov-13/+10
2019-07-06resolve: Reserve cfg/cfg_attr/derive only in attribute sub-namespaceVadim Petrochenkov-5/+16
2019-07-06`#[rustc_doc_only_macro]` -> `#[rustc_builtin_macro]`Vadim Petrochenkov-1/+1
2019-07-05Rollup merge of #62133 - petrochenkov:norustc, r=eddybMazdak Farrokhzad-14/+17
2019-07-04Rollup merge of #62258 - petrochenkov:idclean, r=CentrilMazdak Farrokhzad-3/+0
2019-07-01Convert more usages overChris Gregory-3/+3
2019-07-01syntax: Unsupport `foo! bar { ... }` macros in the parserVadim Petrochenkov-3/+0
2019-06-30Feature gate `rustc` attributes harderVadim Petrochenkov-4/+15
2019-06-30Make sure `#[rustc_doc_only_macro]` and other rustc attributes are registeredVadim Petrochenkov-10/+2