summary refs log tree commit diff
path: root/src/librustc_resolve/macros.rs
AgeCommit message (Expand)AuthorLines
2018-07-27Use slices where a vector is not necessaryljedrz-1/+1
2018-07-20resolve: Fully prohibit shadowing of in-scope names by globs in macro pathsVadim Petrochenkov-2/+1
2018-07-20resolve: Rename `global_macros` to `macro_prelude`Vadim Petrochenkov-7/+7
2018-07-16rustc: Stabilize much of the `proc_macro` featureAlex Crichton-1/+1
2018-07-14Functions introducing procedural macros reserve a slot in the macro namespace...Vadim Petrochenkov-2/+15
2018-07-12Auto merge of #52230 - alexcrichton:attr-and-derive, r=petrochenkovbors-1/+17
2018-07-10rustc: Search all derives for inert attributesAlex Crichton-1/+17
2018-07-08hygiene: Decouple transparencies from expansion IDsVadim Petrochenkov-8/+3
2018-06-30hygiene: Implement transparent marksVadim Petrochenkov-1/+3
2018-06-30expansion: Give names to some fields of `SyntaxExtension`Vadim Petrochenkov-8/+7
2018-06-30resolve: Cleanup `resolve_crate_root`Vadim Petrochenkov-3/+2
2018-06-27Implement `#[macro_export(local_inner_macros)]`Vadim Petrochenkov-1/+8
2018-06-23hygiene: More descriptive names for things involved in late hygienic name res...Vadim Petrochenkov-1/+2
2018-06-23expansion: Rename `Expansion` to `AstFragment`Vadim Petrochenkov-8/+9
2018-06-23hygiene: Rename `MarkKind` to `Transparency`Vadim Petrochenkov-3/+3
2018-06-20Rename "parameter" to "arg"varkor-2/+2
2018-06-12fix issue #51331 by updating qself.positionMichael Lamparski-3/+22
2018-06-03Remove is_import fieldMark Simulacrum-1/+0
2018-05-30resolve: Make sure indeterminate and inconsistent macro resolutions always ge...Vadim Petrochenkov-15/+57
2018-05-26Add `Ident::as_str` helperVadim Petrochenkov-1/+1
2018-05-22Auto merge of #50969 - nikomatsakis:issue-50673-broken-migration-lint, r=alex...bors-3/+3
2018-05-22pass down information about the root tree and use that to guide lintNiko Matsakis-3/+3
2018-05-20Auto merge of #50851 - eddyb:the-only-constant, r=nikomatsakisbors-12/+1
2018-05-19rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded cons...Eduard-Mihai Burtescu-12/+1
2018-05-19Auto merge of #50760 - petrochenkov:legimp, r=nikomatsakisbors-1/+0
2018-05-17Pass crate editions to macro expansions, update testsVadim Petrochenkov-8/+9
2018-05-15Turn deprecation lint `legacy_imports` into a hard errorVadim Petrochenkov-1/+0
2018-05-02Remove Option from the return type of Attribute::name()Seiichi Uchida-3/+3
2018-05-02Allow Path for name of MetaItemSeiichi Uchida-1/+1
2018-04-30Auto merge of #50092 - abonander:issue-49934, r=petrochenkovbors-1/+3
2018-04-29Warn on pointless `#[derive]` in more placesAustin Bonander-1/+3
2018-04-27Don't feature gate bang macros on 'proc_macro_path_invoc'.Sergio Benitez-1/+2
2018-04-25Auto merge of #50100 - Manishearth:edition-path-lint, r=nikomatsakisbors-2/+2
2018-04-20rustc: Tweak custom attribute capabilitiesAlex Crichton-0/+12
2018-04-19Pass down NodeId to resolve_pathManish Goregaokar-2/+2
2018-04-06Remove more duplicated spansVadim Petrochenkov-3/+3
2018-04-06Get rid of `SpannedIdent`Vadim Petrochenkov-11/+6
2018-04-06Rename `PathSegment::identifier` to `ident`Vadim Petrochenkov-6/+6
2018-04-06Use `Span` instead of `SyntaxContext` in `Ident`Vadim Petrochenkov-2/+2
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-1/+1
2018-03-05Turn features() into a query.Michael Woerister-2/+2
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-5/+5
2018-01-22Store a list of local macros on the resolver; use for resolving intra-doc mac...Manish Goregaokar-1/+2
2018-01-22Resolve foreign macrosManish Goregaokar-1/+1
2018-01-15Don't include bang in macro replacement suggestionRyan Cumming-2/+1
2018-01-13Auto merge of #47181 - michaelwoerister:var-len-def-index, r=eddybbors-3/+4
2018-01-12Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrcbors-1/+1
2018-01-08Use different DefIndex representation that is better suited for variable leng...Michael Woerister-3/+4
2017-12-28Report an error when resolving non-ident macro path failedtopecongiro-1/+9
2017-12-13Improve interaction between macros 2.0 and `macro_rules!`.Jeffrey Seyfried-1/+1