| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -1/+1 | |
| 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-15 | Remove `Spanned` from `mk_name_value_item_str` and `expr_to_spanned_string` | Vadim Petrochenkov | -5/+7 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -1/+1 | |
| 2019-08-05 | Make mk_attr_id private to libsyntax | Mark Rousskov | -1/+1 | |
| 2019-08-05 | Drop explicit span argument from mk_name_value_item | Mark Rousskov | -2/+3 | |
| 2019-08-05 | Drop span argument from mk_list_item | Mark Rousskov | -2/+2 | |
| 2019-07-31 | Remove span argument from mk_attr_{inner,outer} | Mark Rousskov | -4/+4 | |
| Always the same as the passed MetaItem | ||||
| 2019-07-31 | Remove AttrId from Attribute constructors | Mark Rousskov | -14/+16 | |
| 2019-07-31 | Unify spanned and non-spanned Attribute ctors | Mark Rousskov | -14/+4 | |
| There is no difference in the code/arguments, so go with the shorter name throughout the code. | ||||
| 2019-07-23 | Normalize use of backticks in compiler messages for libsyntax/* | Samy Kacimi | -2/+2 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-06 | privacy: Only opaque macros leak private things | Vadim Petrochenkov | -5/+1 | |
| 2019-07-05 | Rollup merge of #61545 - flip1995:internal_lints, r=oli-obk | Mazdak Farrokhzad | -1/+1 | |
| Implement another internal lints cc #49509 This adds ~~two~~ one internal lint~~s~~: 1. LINT_PASS_IMPL_WITHOUT_MACRO: Make sure, that the `{declare,impl}_lint_pass` macro is used to implement lint passes. cc #59669 2. ~~USAGE_OF_TYCTXT_AND_SPAN_ARGS: item 2 on the list in #49509~~ ~~With 2. I wasn't sure, if this lint should be applied everywhere. That means a careful review of 0955835 would be great. Also 73fb9b4 allows this lint on some functions. Should I also apply this lint there?~~ TODO (not directly relevant for review): - [ ] https://github.com/rust-lang/rust/pull/59316#discussion_r280186517 (not sure yet, if this works or how to query for `rustc_private`, since it's not in [`Features`](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/feature_gate/struct.Features.html) :thinking: cc @eddyb) - [x] https://github.com/rust-lang/rust/pull/61735#discussion_r292389870 - [x] Check explicitly for the `{declare,impl}_lint_pass!` macros r? @oli-obk | ||||
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -3/+3 | |
| 2019-06-24 | Use symbols in lint tool list | flip1995 | -1/+1 | |
| 2019-06-24 | Turn internal lints into tool lints | flip1995 | -1/+1 | |
| 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-09 | Allow attributes in formal function parameters | Caio | -1/+1 | |
| 2019-06-08 | syntax: Move most of the `TokenKind` methods to `Token` | Vadim Petrochenkov | -3/+2 | |
| 2019-06-07 | parser: `self.span` -> `self.token.span` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -3/+6 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -5/+5 | |
| 2019-06-06 | syntax: Use `Token` in some more places | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -5/+5 | |
| 2019-06-06 | syntax: Add some helper methods to `Token` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -19/+18 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -11/+11 | |
| 2019-05-24 | Tweak macro parse errors when reaching EOF during macro call parse | Esteban Küber | -1/+8 | |
| - 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-23 | syntax: Return named errors from literal parsing functions | Vadim Petrochenkov | -2/+2 | |
| 2019-05-22 | Restore the old behavior of the rustdoc keyword check + Fix rebase | Vadim Petrochenkov | -2/+2 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -4/+4 | |
| 2019-05-17 | Avoid unnecessary interning in `Ident::from_str()` calls. | Nicholas Nethercote | -3/+3 | |
| A lot of these static symbols are pre-interned. | ||||
| 2019-05-13 | Return a `Symbol` from `name_or_empty` functions. | Nicholas Nethercote | -7/+7 | |
| 2019-05-13 | Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions. | Nicholas Nethercote | -17/+8 | |
| 2019-05-11 | Move literal parsing code into a separate file | Vadim Petrochenkov | -99/+0 | |
| Remove some dead code | ||||
| 2019-05-11 | Simplify conversions between tokens and semantic literals | Vadim Petrochenkov | -46/+58 | |
| 2019-05-11 | Eliminate `comments::Literal` | Vadim Petrochenkov | -3/+4 | |
| 2019-05-11 | Keep the original token in `ast::Lit` | Vadim Petrochenkov | -25/+37 | |
| 2019-05-11 | Turn `ast::Lit` into a struct | Vadim Petrochenkov | -6/+6 | |
| 2019-04-15 | Make check_name generic | John Kåre Alsaker | -24/+12 | |
| 2019-04-15 | Use a proc macro to declare preallocated symbols | John Kåre Alsaker | -0/+21 | |
| 2019-03-17 | Make meta-item API compatible with `LocalInternedString::get` soundness fix | Vadim Petrochenkov | -7/+7 | |
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -31/+20 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -16/+16 | |
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -42/+35 | |
| 2019-02-18 | Remove `LazyTokenStream`. | Nicholas Nethercote | -2/+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 #58166 - euclio:deprecation-shorthand, r=petrochenkov | Mazdak Farrokhzad | -0/+4 | |
| allow shorthand syntax for deprecation reason Fixes #48271. Created based on discussion in #56896. | ||||
| 2019-02-12 | Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton | bors | -1/+1 | |
| Stabilize str::escape_* methods with new return types… … that implement `Display` and `Iterator<Item=char>`, as proposed in FCP: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727 | ||||
| 2019-02-12 | New return types for str::escape_* that impl Display and Iterator<char> | Simon Sapin | -1/+1 | |
| As FCP’ed in the tracking issue: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727 | ||||
