about summary refs log tree commit diff
path: root/src/libsyntax_ext/env.rs
AgeCommit message (Collapse)AuthorLines
2019-12-30Rename directories for some crates from `syntax_x` to `rustc_x`Vadim Petrochenkov-88/+0
`syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros`
2019-12-22Format the worldMark Rousskov-31/+33
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-1/+1
2. mir::Mutability -> ast::Mutability.
2019-11-02Simplify various `Symbol` use points.Nicholas Nethercote-1/+1
Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils.
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-1/+1
2019-09-21Remove constraints argument from path_allMark Rousskov-1/+1
It was never used
2019-09-15Remove `with_legacy_ctxt`Matthew Jasper-1/+1
2019-09-15Give more `Idents` spansMatthew Jasper-2/+2
2019-09-03use TokenStream rather than &[TokenTree] for built-in macrosAleksey Kladov-3/+3
That way, we don't loose the jointness info
2019-08-23Audit uses of `apply_mark` in built-in macrosVadim Petrochenkov-1/+1
Replace them with equivalents of `Span::{def_site,call_site}` from proc macro API. The new API is much less error prone and doesn't rely on macros having default transparency.
2019-08-15`Ident::with_empty_ctxt` -> `Ident::with_dummy_span`Vadim Petrochenkov-2/+2
`Ident` has had a full span rather than just a `SyntaxContext` for a long time now.
2019-08-13syntax: Remove `DummyResult::expn_only`Vadim Petrochenkov-7/+7
2019-07-31Replace AstBuilder with inherent methodsMark Rousskov-1/+0
2019-07-19Adjust other names after the `Mark` renamingVadim Petrochenkov-1/+1
2019-05-27Pass symbols to `ExtCtxt::std_path` instead of strings.Nicholas Nethercote-2/+2
Because this function is hot. Also remove the dead `ty_option` function.
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-2/+2
2019-05-17Avoid unnecessary interning in `Ident::from_str()` calls.Nicholas Nethercote-2/+3
A lot of these static symbols are pre-interned.
2019-02-04libsyntax_ext => 2018Taiki Endo-4/+3
2018-12-30Improve error recovery for some built-in macrosVadim Petrochenkov-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-07Avoid unnecessary pattern matching against Option and Resultljedrz-1/+1
2018-07-12Deny bare trait objects in src/libsyntax_extljedrz-2/+2
2018-06-20Simply joint lifetime/type iterationvarkor-1/+1
2018-06-20Rename structures in astvarkor-2/+2
2018-06-20Rename ast::GenericParam and ast::GenericArgvarkor-2/+2
It's so confusing to have everything having the same name, at least while refactoring.
2018-06-20Rename "parameter" to "arg"varkor-3/+3
2018-06-20Rename *Parameter to *Paramvarkor-2/+2
2018-06-20Consolidate PathParameters and AngleBracketedParameterDatavarkor-3/+2
2018-04-06Use `Span::apply_mark` where possibleVadim Petrochenkov-1/+1
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-3/+3
2017-09-04Produce expansion info for more builtin macrosOliver Schneider-0/+1
2017-05-25Hygienize lifetimes.Jeffrey Seyfried-4/+3
2016-11-21Use `Symbol` instead of `InternedString` in the AST, HIR, and various other ↵Jeffrey Seyfried-7/+7
places.
2016-11-20Move `syntax::util::interner` -> `syntax::symbol`, cleanup.Jeffrey Seyfried-4/+4
2016-08-12run rustfmt on libsyntax_ext folderSrinivas Reddy Thatiparthy-43/+37
2016-07-03prefer `if let` to match with `None => {}` arm in some placesZack M. Davis-6/+3
This is a spiritual succesor to #34268/8531d581, in which we replaced a number of matches of None to the unit value with `if let` conditionals where it was judged that this made for clearer/simpler code (as would be recommended by Manishearth/rust-clippy's `single_match` lint). The same rationale applies to matches of None to the empty block.
2016-06-26Rollup merge of #34385 - cgswords:tstream, r=nrcJeffrey Seyfried-2/+3
syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566).
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-06-21Refactored tokentrees into their own files in preparation for tokenstreams. ↵cgswords-2/+3
Modified tests to point to the new file now.
2016-02-11[breaking-change] don't glob export ast::Mutablity variantsOliver 'ker' Schneider-1/+1
2015-12-15Move built-in syntax extensions to a separate crateSeo Sanghyeon-0/+106