| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-07-31 | Replace AstBuilder with inherent methods | Mark Rousskov | -13/+0 | |
| 2019-07-31 | Remove Span argument from ExtCtxt::attribute | Mark Rousskov | -10/+9 | |
| MetaItem.span was always equivalent | ||||
| 2019-07-27 | Move proc macro server into libsyntax | Vadim Petrochenkov | -171/+1 | |
| 2019-07-26 | Introduce built-in macros through libcore | Vadim Petrochenkov | -83/+3 | |
| 2019-07-19 | Adjust other names after the `Mark` renaming | Vadim Petrochenkov | -1/+1 | |
| 2019-07-15 | normalize use of backticks in compiler messages for libsyntax_ext | Samy Kacimi | -1/+1 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-07 | syntax: Pre-intern names of all built-in macros | Vadim Petrochenkov | -17/+17 | |
| They always end up interned anyway | ||||
| 2019-07-07 | syntax: Migrate built-in macros to the regular stability checking | Vadim Petrochenkov | -19/+19 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -5/+5 | |
| 2019-06-23 | Remove built-in derive macros `Send` and `Sync` | Vadim Petrochenkov | -10/+0 | |
| 2019-06-23 | Fix meta-variable binding errors in macros | Julien Cretin | -1/+1 | |
| The errors are either: - The meta-variable used in the right-hand side is not bound (or defined) in the left-hand side. - The meta-variable used in the right-hand side does not repeat with the same kleene operator as its binder in the left-hand side. Either it does not repeat enough, or it uses a different operator somewhere. This change should have no semantic impact. | ||||
| 2019-06-19 | Auto merge of #61172 - matthewjasper:cleanup-implied-bounds-lint, r=varkor | bors | -1/+0 | |
| Improve the explicit_outlives_requirements lint * Don't use Strings to compare parameters * Extend the lint to lifetime bounds * Extend the lint to enums and unions * Use the correct span for where clauses in tuple structs * Try to early-out where possible * Remove unnecessary bounds in rustc crates | ||||
| 2019-06-19 | Rollup merge of #61898 - petrochenkov:sekind, r=eddyb | Mazdak Farrokhzad | -19/+21 | |
| syntax: Factor out common fields from `SyntaxExtension` variants And some other related cleanups. Continuation of https://github.com/rust-lang/rust/pull/61606. This will also help to unblock https://github.com/rust-lang/rust/pull/61877. | ||||
| 2019-06-18 | Remove the HirId/NodeId from where clauses | Matthew Jasper | -1/+0 | |
| Also give them a span in the HIR | ||||
| 2019-06-18 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -5/+6 | |
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-18 | allow_internal_unstable: Avoid some more allocations | Vadim Petrochenkov | -16/+3 | |
| 2019-06-18 | syntax: Factor out common fields from `SyntaxExtension` variants | Vadim Petrochenkov | -3/+18 | |
| 2019-06-12 | Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov | bors | -1/+1 | |
| Allow attributes in formal function parameters Implements https://github.com/rust-lang/rust/issues/60406. This is my first contribution to the compiler and since this is a large and complex project, I am not fully aware of the consequences of the changes I have made. **TODO** - [x] Forbid some built-in attributes. - [x] Expand cfg/cfg_attr | ||||
| 2019-06-12 | Rollup merge of #61654 - Electron-libre:use_slice_patterns_in_rustc, ↵ | Mazdak Farrokhzad | -10/+10 | |
| r=oli-obk,Centril use pattern matching for slices destructuring refs #61542 Use slices pattern where it seems to make sense . | ||||
| 2019-06-10 | syntax: Rename variants of `SyntaxExtension` for consistency | Vadim Petrochenkov | -1/+1 | |
| 2019-06-10 | syntax: Use `MultiItemModifier` for built-in derives | Vadim Petrochenkov | -4/+20 | |
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -1/+1 | |
| 2019-06-08 | use pattern matching for slices destructuring | Cedric | -10/+10 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -2/+2 | |
| 2019-06-05 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -2/+1 | |
| 2019-06-03 | syntax: revert `ast::AsyncArgument` and associated changes. | Eduard-Mihai Burtescu | -1/+0 | |
| Here follows the main reverts applied in order to make this commit: Revert "Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj" This reverts commit 45b09453dbf120cc23d889435aac3ed7d2ec8eb7, reversing changes made to f6df1f6c30b469cb9e65c5453a0efa03cbb6005e. Revert "Rollup merge of #60437 - davidtwco:issue-60236, r=nikomatsakis" This reverts commit 16939a50ea440e72cb6ecefdaabb988addb1ec0e, reversing changes made to 12bf98155249783583a91863c5dccf9e346f1226. Revert "Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj" This reverts commit 62d1574876f5531bce1b267e62dff520d7adcbbb, reversing changes made to 4eff8526a789e0dfa8b97f7dec91b7b5c18e8544. | ||||
| 2019-05-27 | Pass symbols to `ExtCtxt::std_path` instead of strings. | Nicholas Nethercote | -24/+27 | |
| Because this function is hot. Also remove the dead `ty_option` function. | ||||
| 2019-05-27 | Avoid unnecessary internings. | Nicholas Nethercote | -21/+21 | |
| Most involving `Symbol::intern` on string literals. | ||||
| 2019-05-24 | Tweak macro parse errors when reaching EOF during macro call parse | Esteban Küber | -1/+1 | |
| - Add detail on origin of current parser when reaching EOF and stop saying "found <eof>" and point at the end of macro calls - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error | ||||
| 2019-05-22 | Eliminate unnecessary `Ident::with_empty_ctxt`s | Vadim Petrochenkov | -1/+1 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -8/+9 | |
| 2019-05-13 | Return a `Symbol` from `name_or_empty` functions. | Nicholas Nethercote | -2/+2 | |
| 2019-05-13 | Remove the equality operation between `Symbol` and strings. | Nicholas Nethercote | -2/+2 | |
| And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s. | ||||
| 2019-05-13 | Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions. | Nicholas Nethercote | -4/+4 | |
| 2019-04-21 | Introduce `LocalSource` into the AST. | David Wood | -0/+1 | |
| This will be used to keep track of the origin of a local in the AST. In particular, it will be used by `async fn` lowering for the locals in `let <pat>: <ty> = __arg0;` statements. | ||||
| 2019-03-25 | Auto merge of #59256 - petrochenkov:derval2, r=Zoxc | bors | -3/+4 | |
| Make meta-item API compatible with `LocalInternedString::get` soundness fix r? @Zoxc | ||||
| 2019-03-24 | Remove methods is_struct/is_tuple/is_unit from VariantData | Vadim Petrochenkov | -53/+51 | |
| 2019-03-17 | Make meta-item API compatible with `LocalInternedString::get` soundness fix | Vadim Petrochenkov | -3/+4 | |
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -9/+8 | |
| 2019-02-18 | Remove `LazyTokenStream`. | Nicholas Nethercote | -1/+2 | |
| It's present within `Token::Interpolated` as an optimization, so that if a nonterminal is converted to a `TokenStream` multiple times, the first-computed value is saved and reused. But in practice it's not needed. `interpolated_to_tokenstream()` is a cold function: it's only called a few dozen times while compiling rustc itself, and a few hundred times across the entire `rustc-perf` suite. Furthermore, when it is called, it is almost always the first conversion, so no benefit is gained from it. So this commit removes `LazyTokenStream`, along with the now-unnecessary `Token::interpolated()`. As well as a significant simplification, the removal speeds things up slightly, mostly due to not having to `drop` the `LazyTokenStream` instances. | ||||
| 2019-02-13 | Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper | Mazdak Farrokhzad | -1/+1 | |
| Rename rustc_errors dependency in rust 2018 crates I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules. Related: rust-lang/cargo#5653 cc #58099 r? @Centril | ||||
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -11/+11 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-13 | Cleanup imports | Taiki Endo | -1/+1 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -1/+1 | |
| 2019-02-11 | Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocs | Oliver Scherer | -3/+4 | |
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -2/+6 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -11/+11 | |
