summary refs log tree commit diff
path: root/src/librustc_expand/mbe
AgeCommit message (Expand)AuthorLines
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-14/+12
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-2/+4
2020-04-04macro_rules: `NtLifetime` cannot start with an identifierVadim Petrochenkov-1/+1
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-13/+12
2020-03-27suggest semi on expr mac!() good as stmt mac!().Mazdak Farrokhzad-1/+18
2020-03-25Rename `def_span` to `guess_head_span`Esteban Küber-1/+1
2020-03-24expand: address review commentsMazdak Farrokhzad-18/+11
2020-03-24expand: add recovery for parse_ntMazdak Farrokhzad-16/+19
2020-03-24defatalize `compile_declarative_macro`Mazdak Farrokhzad-16/+32
2020-03-24mbe::transcribe: defatalize errors.Mazdak Farrokhzad-13/+22
2020-03-24generic_extension: defatalize Error caseMazdak Farrokhzad-1/+5
2020-03-24nix panictry! in ParserAnyMacro::makeMazdak Farrokhzad-31/+46
2020-03-21parse: nix unused `root_module_name`.Mazdak Farrokhzad-2/+0
2020-03-20can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.Mazdak Farrokhzad-1/+1
2020-03-18parser/expand: minor cleanupMazdak Farrokhzad-2/+2
2020-03-18outline modules: parse -> expand.Mazdak Farrokhzad-25/+12
2020-03-16Make macro metavars respect (non-)hygieneMatthew Jasper-24/+33
2020-03-16Other `legacy` -> `macro_rules`Vadim Petrochenkov-6/+6
2020-03-16ast/hir: `MacroDef::legacy` -> `MacroDef::macro_rules`Vadim Petrochenkov-5/+5
2020-03-12ast: `Mac`/`Macro` -> `MacCall`Vadim Petrochenkov-2/+2
2020-03-10Store `TokenStream` in `rmeta::MacroDef`.Mazdak Farrokhzad-3/+3
2020-03-09Address review commentsVadim Petrochenkov-4/+1
2020-03-09rustc_parse: Use `Token::ident` where possibleVadim Petrochenkov-12/+6
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-03Improve weird formatting by moving comment inside else-code block.Matthias Krüger-3/+3
2020-03-01Rollup merge of #69580 - matthiaskrgr:map_clone, r=CentrilYuki Okushi-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-15/+15
2020-02-29use .copied() instead of .map(|x| *x) on iteratorsMatthias Krüger-1/+1
2020-02-28Rollup merge of #69384 - petrochenkov:nounnorm, r=CentrilMazdak Farrokhzad-2/+7
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-4/+3
2020-02-24parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`Vadim Petrochenkov-2/+1
2020-02-24Add some missing support for `NtIdent`Vadim Petrochenkov-0/+6
2020-02-17parser: Do not call `bump` recursivelyVadim Petrochenkov-3/+0
2020-02-17Auto merge of #69129 - Centril:macro-legacy-errors, r=petrochenkovbors-1/+1
2020-02-15parser: `macro_rules` is a weak keywordVadim Petrochenkov-2/+2
2020-02-14Fix a typo in a variable name.Nicholas Nethercote-3/+4
2020-02-14Avoid `base_parser`, it's not needed.Nicholas Nethercote-14/+11
2020-02-13macro_legacy_warnings -> errorMazdak Farrokhzad-1/+1
2020-02-06Change condition ordering in `parse_tt`.Nicholas Nethercote-6/+6
2020-02-06Remove the `Cow` from `Directory`.Nicholas Nethercote-2/+2
2020-02-06Avoid instantiating many `Parser` structs in `generic_extension`.Nicholas Nethercote-45/+55
2020-02-01syntax::print -> new crate rustc_ast_prettyMazdak Farrokhzad-3/+3
2020-02-011. move node_id to syntaxMazdak Farrokhzad-3/+3
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-30Use `P` for `NtMeta`.Nicholas Nethercote-1/+2
2020-01-11Rollup merge of #68084 - estebank:ice-68000, r=varkorMazdak Farrokhzad-1/+1
2020-01-11nix syntax::early_buffered_lintsMazdak Farrokhzad-4/+4
2020-01-10Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-1/+1
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-14/+9
2020-01-02Normalize `syntax::edition` imports.Mazdak Farrokhzad-1/+1