| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-09-07 | Rollup merge of #63919 - matthewjasper:remove-gensymmed, r=petrochenkov | Mazdak Farrokhzad | -0/+8 | |
| Use hygiene for AST passes AST passes are now able to have resolve consider their expansions as if they were opaque macros defined either in some module in the current crate, or a fake empty module with `#[no_implicit_prelude]`. * Add an ExpnKind for AST passes. * Remove gensyms in AST passes. * Remove gensyms in`#[test]`, `#[bench]` and `#[test_case]`. * Allow opaque macros to define tests. * Move tests for unit tests to their own directory. * Remove `Ident::{gensym, is_gensymed}` - `Ident::gensym_if_underscore` still exists. cc #60869, #61019 r? @petrochenkov | ||||
| 2019-09-05 | Add an ExpnKind for AST passes | Matthew Jasper | -0/+8 | |
| 2019-09-04 | Remove hashing impls for `LocalInternedString`. | Nicholas Nethercote | -22/+1 | |
| 2019-08-23 | Remove default macro transparencies | Vadim Petrochenkov | -1/+0 | |
| All transparancies are passed explicitly now. Also remove `#[rustc_macro_transparency]` annotations from built-in macros, they are no longer used. `#[rustc_macro_transparency]` only makes sense for declarative macros now. | ||||
| 2019-08-15 | hygiene: `ExpnInfo` -> `ExpnData` | Vadim Petrochenkov | -1/+1 | |
| For naming consistency with everything else in this area | ||||
| 2019-08-15 | hygiene: Merge `ExpnInfo` and `InternalExpnData` | Vadim Petrochenkov | -1/+2 | |
| 2019-08-05 | add unknown token | Aleksey Kladov | -1/+2 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -1/+1 | |
| 2019-07-11 | hygiene: Make sure each `Mark` has an associated expansion info | Vadim Petrochenkov | -0/+1 | |
| The root expansion was missing one. Expansions created for "derive containers" (see one of the next commits for the description) also didn't get expansion info. | ||||
| 2019-07-11 | hygiene: Reuse `MacroKind` in `ExpnKind` | Vadim Petrochenkov | -2/+1 | |
| Orthogonality and reuse are good. | ||||
| 2019-07-11 | Rename some things in `syntax_pos/hygiene` | Vadim Petrochenkov | -4/+4 | |
| More consistent with other naming: ExpnFormat -> ExpnKind ExpnKind::name -> ExpnKind::descr DesugaringKind::name -> DesugaringKind::descr Shorter, no tautology: CompilerDesugaring -> Desugaring CompilerDesugaringKind -> DesugaringKind | ||||
| 2019-07-11 | Remove `MacroKind::ProcMacroStub` | Vadim Petrochenkov | -1/+0 | |
| It's internal to resolve and always results in `Res::Err` outside of resolve. Instead put `DefKind::Fn`s themselves into the macro namespace, it's ok. Proc macro stubs are items placed into macro namespase for functions that define proc macros. https://github.com/rust-lang/rust/pull/52383 The rustdoc test is changed because the old test didn't actually reproduce the ICE it was supposed to reproduce. | ||||
| 2019-07-06 | Enforce 'cond: bool' in while-expr + improve reachability diags. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-18 | syntax: Move `default_transparency` into `ExpnInfo` | Vadim Petrochenkov | -1/+8 | |
| 2019-06-14 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-07 | syntax: Treat error literals in more principled way | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Lifetime` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -60/+64 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -41/+41 | |
| 2019-06-05 | Addressed points raised in review. | Alexander Regueiro | -1/+1 | |
| 2019-05-23 | syntax: Turn `token::Lit` into a struct | Vadim Petrochenkov | -16/+18 | |
| 2019-05-11 | Introduce `hir::Lit` not keeping the original token | Vadim Petrochenkov | -0/+2 | |
| 2019-05-11 | Keep the original token in `ast::Lit` | Vadim Petrochenkov | -16/+17 | |
| 2019-05-11 | Turn `ast::Lit` into a struct | Vadim Petrochenkov | -1/+5 | |
| 2019-05-10 | Remove hir::ExprKind::If and replace it with lowering to hir::ExprKind::Match. | Mazdak Farrokhzad | -0/+1 | |
| 2019-05-07 | Implement built-in await syntax | Taylor Cramer | -0/+1 | |
| Adds support for .await under the existing async_await feature gate. Moves macro-like await! syntax to the await_macro feature gate. Removes support for `await` as a non-keyword under the `async_await` feature. | ||||
| 2019-04-23 | Add rustc_allow_const_fn_ptr | Taylor Cramer | -0/+1 | |
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -3/+1 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -1/+1 | |
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -2/+3 | |
| 2019-02-05 | move librustc to 2018 | Mark Mansi | -2/+2 | |
| 2019-01-30 | Add suggestions to deprecation lints | Oliver Scherer | -1/+1 | |
| 2019-01-20 | Auto merge of #57651 - JohnTitor:give-char-type, r=estebank | bors | -0/+2 | |
| Implement new literal type `Err` Fixes #57384 I removed `return Ok`, otherwise, two errors occur. Any solutions? r? @estebank | ||||
| 2019-01-20 | Mark incorrect recovered `char` literals as `TyErr` to avoid type errors | Yuki Okushi | -0/+1 | |
| 2019-01-16 | Add new literal type Err | Yuki Okushi | -0/+1 | |
| 2019-01-14 | Remove `ThinTokenStream`. | Nicholas Nethercote | -1/+1 | |
| `TokenStream` is now almost identical to `ThinTokenStream`. This commit removes the latter, replacing it with the former. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-10 | Remove `tokenstream::Delimited`. | Nicholas Nethercote | -3/+3 | |
| Because it's an extra type layer that doesn't really help; in a couple of places it actively gets in the way, and overall removing it makes the code nicer. It does, however, move `tokenstream::TokenTree` further away from the `TokenTree` in `quote.rs`. More importantly, this change reduces the size of `TokenStream` from 48 bytes to 40 bytes on x86-64, which is enough to slightly reduce instruction counts on numerous benchmarks, the best by 1.5%. Note that `open_tt` and `close_tt` have gone from being methods on `Delimited` to associated methods of `TokenTree`. | ||||
| 2018-12-06 | Rollup merge of #56426 - petrochenkov:syntweak, r=nikomatsakis | Pietro Albini | -8/+4 | |
| libsyntax_pos: A few tweaks | ||||
| 2018-12-04 | adds DocTest filename variant, refactors doctest_offset out of source_map, ↵ | Matthew Russo | -1/+2 | |
| fixes remaining test failures | ||||
| 2018-12-04 | updates all Filename variants to take a fingerprint | Matthew Russo | -6/+6 | |
| 2018-12-04 | syntax: Remove `#[non_exhaustive]` from `Edition` | Vadim Petrochenkov | -8/+4 | |
| `Edition` is not a public API, we want users to break when a new edition is added | ||||
| 2018-12-02 | Remove not used `DotEq` token | yui-knk | -1/+0 | |
| Currently libproc_macro does not use `DotEq` token. https://github.com/rust-lang/rust/pull/49545 changed libproc_macro to not generate `DotEq` token. | ||||
| 2018-10-03 | Only promote calls to `#[rustc_promotable]` const fns | Oliver Schneider | -0/+1 | |
| 2018-08-31 | Implement the `min_const_fn` feature gate | Oliver Schneider | -2/+1 | |
| 2018-08-29 | Remove `AccumulateVec` and its uses. | Nicholas Nethercote | -2/+2 | |
| It's basically just a less capable version of `SmallVec`. | ||||
| 2018-08-23 | Auto merge of #52602 - scottmcm:tryblock-expr, r=nikomatsakis | bors | -1/+1 | |
| Implement try block expressions I noticed that `try` wasn't a keyword yet in Rust 2018, so... ~~Fixes https://github.com/rust-lang/rust/issues/52604~~ That was fixed by PR https://github.com/rust-lang/rust/pull/53135 cc https://github.com/rust-lang/rust/issues/31436 https://github.com/rust-lang/rust/issues/50412 | ||||
