| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-15 | ast: normalize `ForeignItemKind::Ty` & `AssocItemKind::TyAlias`. | Mazdak Farrokhzad | -3/+3 | |
| 2020-02-15 | ast: move Generics into AssocItemKinds | Mazdak Farrokhzad | -7/+7 | |
| 2020-02-13 | IsAsync -> enum Async { Yes { span: Span, .. }, No } | Mazdak Farrokhzad | -6/+6 | |
| use new span for better diagnostics. | ||||
| 2020-02-13 | Constness -> enum Const { Yes(Span), No } | Mazdak Farrokhzad | -8/+8 | |
| Same idea for `Unsafety` & use new span for better diagnostics. | ||||
| 2020-02-08 | Make `associated_items` query return a slice | Jonas Schievink | -0/+2 | |
| 2020-02-05 | parser: merge `fn` grammars wrt. bodies & headers | Mazdak Farrokhzad | -7/+9 | |
| also refactor `FnKind` and `visit_assoc_item` visitors | ||||
| 2020-02-02 | Fix ICE with save-analysis | Yuki Okushi | -2/+2 | |
| 2020-02-01 | syntax::print -> new crate rustc_ast_pretty | Mazdak Farrokhzad | -14/+12 | |
| 2020-01-30 | Use `P` for `NtTraitItem`, `NtImplItem`, and `NtForeignItem`. | Nicholas Nethercote | -2/+2 | |
| This commit reduces the size of `Nonterminal` from a whopping 240 bytes to 72 bytes (on x86-64), which gets it below the `memcpy` threshold. It also removes some impedance mismatches with `Annotatable`, which already uses `P` for these variants. | ||||
| 2020-01-26 | Don't use ExpnKind::descr to get the name of a bang macro. | Eduard-Mihai Burtescu | -7/+14 | |
| 2020-01-19 | Add `constness` field to `ast::ItemKind::Impl` | Dylan MacKenzie | -0/+4 | |
| 2020-01-17 | Use named fields for `hir::ItemKind::Impl` | Dylan MacKenzie | -2/+2 | |
| 2020-01-17 | Use named fields for `ast::ItemKind::Impl` | Dylan MacKenzie | -15/+15 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -7/+8 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -4/+4 | |
| 2019-12-30 | Make things build again | Vadim Petrochenkov | -1/+1 | |
| 2019-12-28 | doc comments: Less attribute mimicking | Vadim Petrochenkov | -9/+9 | |
| 2019-12-22 | Format the world | Mark Rousskov | -674/+475 | |
| 2019-12-21 | Use Arena inside hir::Item. | Camille GILLOT | -2/+2 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -6/+6 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-12-12 | `AssocImplKind::{Method -> Fn}`. | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-12 | Remove `ast::{Impl,Trait}{Item,ItemKind}`. | Mazdak Farrokhzad | -13/+13 | |
| 2019-12-12 | parse: refactor fun ret ty & param ty | Mazdak Farrokhzad | -5/+4 | |
| 2019-12-12 | Unify `{Trait,Impl}ItemKind::TyAlias` structures. | Mazdak Farrokhzad | -1/+2 | |
| 2019-12-12 | `TraitItemKind::Type` -> `TraitItemKind::TyAlias`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Method`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Const`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-02 | syntax: Remove redundant span from `ast::Mac` | Vadim Petrochenkov | -8/+0 | |
| Also remove a couple of redundant `visit_mac` asserts | ||||
| 2019-11-16 | ast: Keep `extern` qualifiers in functions more precisely | Vadim Petrochenkov | -8/+9 | |
| 2019-11-14 | TAIT: adjust save-analysis | Mazdak Farrokhzad | -48/+0 | |
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -4/+3 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-08 | ast::ItemKind::Fn: use ast::FnSig | Mazdak Farrokhzad | -5/+5 | |
| 2019-11-08 | ast::MethodSig -> ast::FnSig | Mazdak Farrokhzad | -3/+3 | |
| 2019-11-07 | move syntax::parse::lexer::comments -> syntax::util::comments | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -2/+2 | |
| 2019-11-07 | syntax: use distinct FloatTy from rustc_target. | Mazdak Farrokhzad | -1/+0 | |
| We also sever syntax's dependency on rustc_target as a result. This should slightly improve pipe-lining. Moreover, some cleanup is done in related code. | ||||
| 2019-11-07 | parser: don't hardcode ABIs into grammar | Mazdak Farrokhzad | -16/+10 | |
| 2019-11-06 | Make doc comments cheaper with `AttrKind`. | Nicholas Nethercote | -2/+2 | |
| `AttrKind` is a new type with two variants, `Normal` and `DocComment`. It's a big performance win (over 10% in some cases) because `DocComment` lets doc comments (which are common) be represented very cheaply. `Attribute` gets some new helper methods to ease the transition: - `has_name()`: check if the attribute name matches a single `Symbol`; for `DocComment` variants it succeeds if the symbol is `sym::doc`. - `is_doc_comment()`: check if it has a `DocComment` kind. - `{get,unwrap}_normal_item()`: extract the item from a `Normal` variant; panic otherwise. Fixes #60935. | ||||
| 2019-11-06 | Remove unnecessary `Deref` impl for `Attribute`. | Nicholas Nethercote | -1/+1 | |
| This kind of thing just makes the code harder to read. | ||||
| 2019-10-29 | save-analysis: Account for async desugaring in async fn return types | Igor Matuszewski | -4/+23 | |
| 2019-10-17 | save-analysis: Nest tables when processing impl items | Igor Matuszewski | -9/+12 | |
| 2019-10-13 | Nest typeck tables when processing struct member types | Igor Matuszewski | -5/+7 | |
| 2019-10-13 | Use empty typeck tables when nesting on items without those | Igor Matuszewski | -8/+14 | |
| 2019-10-05 | Rollup merge of #64708 - SimonSapin:option-deref, r=Centril | Tyler Mandry | -1/+0 | |
| Stabilize `Option::as_deref` and `Option::as_deref_mut` The tracking issue https://github.com/rust-lang/rust/issues/50264 still has unresolved question for the corresponding `Result` methods. | ||||
| 2019-09-26 | Rename `ForeignItem.node` to `ForeignItem.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -7/+7 | |
| 2019-09-26 | Rename `Ty.node` to `Ty.kind` | varkor | -5/+5 | |
| 2019-09-26 | Rename `TraitItem.node` to `TraitItem.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `ImplItem.node` to `ImplItem.kind` | varkor | -1/+1 | |
