about summary refs log tree commit diff
path: root/src/libsyntax_expand/mbe
AgeCommit message (Collapse)AuthorLines
2019-12-30Rename directories for some crates from `syntax_x` to `rustc_x`Vadim Petrochenkov-3404/+0
`syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros`
2019-12-22Format the worldMark Rousskov-119/+94
2019-12-20extract suggest_slice_patMazdak Farrokhzad-21/+25
2019-12-12Remove the `DelimSpan` from `NamedMatch::MatchedSeq`.Nicholas Nethercote-20/+11
Because it's unused. This then allows the removal of `MatcherPos::sp_open`. It's a tiny perf win, reducing instruction counts by 0.1% - 0.2% on a few benchmarks.
2019-12-03Move early lint declarations to librustc_sessionMark Rousskov-2/+2
2019-12-02syntax: Use `ast::MacArgs` for macro definitionsVadim Petrochenkov-6/+6
2019-12-02syntax: Introduce a struct `MacArgs` for macro argumentsVadim Petrochenkov-8/+1
2019-11-30introduce crate rustc_feature and move active, accepted, and removed to itMazdak Farrokhzad-1/+1
2019-11-27Rollup merge of #66798 - bwignall:typo, r=varkorTyler Mandry-1/+1
Fix spelling typos Should be non-semantic. Uses https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines to find likely typos.
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-11-26Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPCTyler Mandry-1/+2
Various tweaks to diagnostic output
2019-11-25Tweak duplicate matcher binding errorEsteban Küber-1/+2
2019-11-11syntactically allow visibility on trait item & enum variantMazdak Farrokhzad-2/+2
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-8/+8
also move MACRO_ARGUMENTS -> librustc_parse
2019-11-07move PResult to librustc_errorsMazdak Farrokhzad-2/+2
2019-11-07syntax::parser::token -> syntax::tokenMazdak Farrokhzad-6/+5
2019-11-06rollback gating for failing macro matchersMazdak Farrokhzad-2/+15
2019-11-06Rollup merge of #66139 - euclio:pluralize, r=nagisaMazdak Farrokhzad-3/+3
use American spelling for `pluralize!`
2019-11-06Rollup merge of #65776 - nnethercote:rename-LocalInternedString-and-more, ↵Mazdak Farrokhzad-1/+1
r=estebank Rename `LocalInternedString` and more This PR renames `LocalInternedString` as `SymbolStr`, removes an unnecessary `impl` from it, improves comments, and cleans up some `SymbolStr` uses. r? @estebank
2019-11-05use American spelling for `pluralize!`Andy Russell-3/+3
2019-11-03syntax: Avoid span arithmetics for delimiter tokensVadim Petrochenkov-3/+3
2019-11-02Convert `x.as_str().to_string()` to `x.to_string()` where possible.Nicholas Nethercote-1/+1
2019-10-16mbe: leave a FIXMEMazdak Farrokhzad-0/+3
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-0/+3425