summary refs log tree commit diff
path: root/src/librustc_resolve/macros.rs
AgeCommit message (Expand)AuthorLines
2017-07-17Change some helps to suggestionsOliver Schneider-2/+3
2017-06-29Make `$crate` a keywordVadim Petrochenkov-1/+1
2017-06-07Replace some matches with try.Masaki Hara-4/+1
2017-05-31Extend the unused macro lint to macros 2.0est31-0/+4
2017-05-25Improve intercrate hygiene.Jeffrey Seyfried-1/+2
2017-05-25Hygienize `librustc_typeck`.Jeffrey Seyfried-3/+11
2017-05-25Hygienize `librustc_resolve`.Jeffrey Seyfried-22/+29
2017-05-25Declarative macros 2.0 without hygiene.Jeffrey Seyfried-9/+20
2017-05-15Address review commentsest31-7/+7
2017-05-13Support #[allow] etc logic on a per macro levelest31-8/+5
2017-05-13Add lint for unused macrosest31-2/+27
2017-05-12Weave the span of an import through the resolve codeOliver Schneider-15/+19
2017-05-10Example usage of multiple suggestionsOliver Schneider-3/+3
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-1/+1
2017-04-15feature gate :vis matcherAlex Burka-1/+3
2017-04-03Fix bug parsing `#[derive]` macro invocations.Jeffrey Seyfried-2/+4
2017-03-27Ensure that macro resolutions in trait positions get finalized.Jeffrey Seyfried-3/+2
2017-03-24Rename `builtin` => `global`.Jeffrey Seyfried-15/+15
2017-03-24Allow declarative macros 2.0 and `use` macro imports to shadow builtin macros.Jeffrey Seyfried-38/+64
2017-03-22Rollup merge of #40509 - jseyfried:duplicate_check_macro_exports, r=nrcCorey Farwell-1/+1
2017-03-21Fix bug in legacy `#[derive]` processing logic.Jeffrey Seyfried-4/+4
2017-03-21Check for conflicts between macros 1.0 exports (`#[macro_export]`, `#[macro_r...Jeffrey Seyfried-1/+1
2017-03-19Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrcbors-35/+56
2017-03-14Liberalize attributes.Jeffrey Seyfried-16/+38
2017-03-14Refactor `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`.Jeffrey Seyfried-22/+21
2017-03-12Rollup merge of #40369 - petrochenkov:segspan, r=eddybCorey Farwell-2/+4
2017-03-10resolve: Use path segment spans in smart_resolve_pathVadim Petrochenkov-1/+0
2017-03-10Give spans to individual path segments in ASTVadim Petrochenkov-1/+4
2017-03-10Avoid using `Mark` and `Invocation` for macro defs.Jeffrey Seyfried-36/+43
2017-03-10Move `resolve_invoc` from `syntax` to `resolve`.Jeffrey Seyfried-9/+67
2017-03-10Refactor out `ast::ItemKind::MacroDef`.Jeffrey Seyfried-35/+18
2017-03-05Fix const expression macro invocations.Jeffrey Seyfried-9/+9
2017-03-03Integrate `TokenStream`.Jeffrey Seyfried-2/+2
2017-02-25Rollup merge of #39953 - keeperofdakeys:macro-error, r=jseyfriedEduard-Mihai Burtescu-23/+37
2017-02-23Add macro suggestions for macros imported with `use`Josh Driver-21/+34
2017-02-23Move MacroKind into Def::MacroJosh Driver-2/+3
2017-02-22Don't assume plugin-whitelisted attributes are proc macro attributesAustin Bonander-0/+5
2017-02-19Privatize fields of PathResolutionVadim Petrochenkov-1/+1
2017-02-16Refactor macro resolution errors + add derive macro suggestionsJosh Driver-52/+73
2017-02-12Allow using inert attributes from `proc_macro_derive`s with `#![feature(proc_...Jeffrey Seyfried-16/+11
2017-02-12Move legacy custom derives collection into `resolver.find_attr_invoc()`.Jeffrey Seyfried-2/+55
2017-02-05Move derive macro expansion into the MacroExpanderJosh Driver-0/+26
2017-01-22Warn on unused `#[macro_use]` imports.Jeffrey Seyfried-6/+10
2017-01-16Implement `#[proc_macro_attribute]`Austin Bonander-1/+42
2017-01-12resolve: Do not use "resolve"/"resolution" in error messagesVadim Petrochenkov-2/+2
2016-12-31Style fixesJosh Driver-2/+1
2016-12-31Stop macro calls in structs for proc_macro_derive from panicingJosh Driver-0/+5
2016-12-24Use `DefId`s instead of `NodeId`s for `pub(restricted)` visibilities.Jeffrey Seyfried-2/+2
2016-12-23Auto merge of #38533 - jseyfried:legacy_custom_derive_deprecation, r=nrcbors-0/+4
2016-12-23Allow legacy custom derive authors to disable warnings in downstream crates.Jeffrey Seyfried-0/+4