| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-09-26 | Rename `Pat.node` to `Pat.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -10/+10 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-25 | Rollup merge of #62975 - ljedrz:kill_off_hir_to_node_id, r=Zoxc | Mazdak Farrokhzad | -4/+2 | |
| Almost fully deprecate hir::map::Map.hir_to_node_id - HirIdify `doctree::Module.id` - HirIdify `hir::Crate.modules` - introduce a `HirId` to `DefIndex` map in `map::Definitions` The only last uses of `hir::map::Map.hir_to_node_id` in the compiler are: - for the purposes of `driver::pretty` (in `map::nodes_matching_suffix`), but I don't know if we can remove `NodeId`s in there (I think when I attempted it previously there was some issue due to `HirId` not being representable with an integer) - in `ty::query::on_disk_cache` (not sure about the purpose of this one) - in `mir::transform::check_unsafety` (only important for error message order) Any suggestions how to kill these off? r? @Zoxc | ||||
| 2019-09-14 | def_collector: Factor out common field handling code | Vadim Petrochenkov | -26/+21 | |
| 2019-09-14 | def_collector: Do not ICE on attributes on unnamed fields | Vadim Petrochenkov | -2/+15 | |
| 2019-09-09 | Resolve attributes in several places | Caio | -1/+57 | |
| Arm, Field, FieldPat, GenericParam, Param, StructField and Variant | ||||
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: librustc | Alexander Regueiro | -59/+61 | |
| 2019-09-04 | Remove hashing impls for `LocalInternedString`. | Nicholas Nethercote | -1/+1 | |
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -12/+12 | |
| 2019-08-25 | HirIdify hir::Crate.modules | ljedrz | -4/+2 | |
| 2019-08-24 | Modifies how Arg, Arm, Field, FieldPattern and Variant are visited | Caio | -4/+3 | |
| Part of the necessary work to accomplish #63468. | ||||
| 2019-08-21 | review comments | Esteban Küber | -7/+13 | |
| 2019-08-21 | When declaring a declarative macro in an item it's only accessible inside it | Esteban Küber | -5/+8 | |
| 2019-08-18 | Auto merge of #63269 - Aaron1011:feature/proc-macro-data, r=eddyb,petrochenkov | bors | -19/+0 | |
| Serialize additional data for procedural macros Split off from #62855 This PR serializes the declaration `Span` and attributes for all procedural macros. This allows Rustdoc to properly render doc comments and source links when performing inlinig procedural macros across crates | ||||
| 2019-08-17 | resolve: Properly integrate derives and `macro_rules` scopes | Vadim Petrochenkov | -1/+1 | |
| 2019-08-17 | Serialize additional data for procedural macros | Aaron Hill | -19/+0 | |
| Split off from #62855 This PR deerializes the declaration `Span` and attributes for all procedural macros from their underlying function definitions. This allows Rustdoc to properly render doc comments and source links when inlining procedural macros across crates | ||||
| 2019-08-14 | Rollup merge of #63543 - c410-f3r:variant, r=c410-f3r | Mazdak Farrokhzad | -12/+12 | |
| Merge Variant and Variant_ Extracted from #63468. | ||||
| 2019-08-14 | Merge Variant and Variant_ | Caio | -12/+12 | |
| 2019-08-13 | review comments | Esteban Küber | -1/+3 | |
| 2019-08-12 | Suggest `Box::new` when appropriate | Esteban Küber | -4/+24 | |
| When encountering a boxed value as expected and a stack allocated value that could be boxed to fulfill the expectation, like in the following snippet, suggest `Box::new` wrapping. | ||||
| 2019-08-09 | Differentiate between tuple structs and tuple variants | Esteban Küber | -1/+1 | |
| 2019-08-04 | Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias` | varkor | -3/+3 | |
| 2019-08-04 | Rename `ItemKind::Ty` to `ItemKind::TyAlias` | varkor | -4/+4 | |
| 2019-08-02 | Replace `exist_ty` and `ExistTy` with `opaque_ty` and `OpaqueTy` | varkor | -1/+1 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -9/+9 | |
| 2019-07-27 | Lint attributes on function arguments | Caio | -0/+15 | |
| 2019-07-19 | Adjust other names after the `Mark` renaming | Vadim Petrochenkov | -8/+8 | |
| 2019-07-19 | libsyntax: Remove `Mark` into `ExpnId` | Vadim Petrochenkov | -20/+20 | |
| 2019-07-11 | Rollup merge of #62476 - petrochenkov:expref, r=matthewjasper | Mazdak Farrokhzad | -59/+33 | |
| Continue refactoring macro expansion and resolution This PR continues the work started in https://github.com/rust-lang/rust/pull/62042. It contains a set of more or less related refactorings with the general goal of making things simpler and more orthogonal. Along the way most of the issues uncovered in https://github.com/rust-lang/rust/pull/62086 are fixed. The PR is better read in per-commit fashion with whitespace changes ignored. I tried to leave some more detailed commit messages describing the motivation behind the individual changes. Fixes https://github.com/rust-lang/rust/issues/44692 Fixes https://github.com/rust-lang/rust/issues/52363 Unblocks https://github.com/rust-lang/rust/pull/62086 r? @matthewjasper | ||||
| 2019-07-11 | def_collector: `parent_def` is no longer optional | Vadim Petrochenkov | -31/+17 | |
| 2019-07-11 | def_collector: Simplify tracking of macro invocation parents | Vadim Petrochenkov | -30/+18 | |
| Avoid the tricky scheme with callbacks and keep the invocation parent data where it logically belongs - in `Definitions`. This also allows to create `InvocationData` entries in resolve when the data is actually ready, and remove cells and "uninitialized" variants from it. | ||||
| 2019-07-10 | Properly case indent_unit constant | Mark Rousskov | -1/+1 | |
| 2019-07-10 | Move pp::Printer helpers to direct impl | Mark Rousskov | -2/+0 | |
| 2019-07-07 | Collect library features from non-exported macros | Vadim Petrochenkov | -0/+1 | |
| 2019-07-06 | Remove ExprKind::While from HIR. | Mazdak Farrokhzad | -1/+1 | |
| 2019-07-05 | Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=Zoxc | Mazdak Farrokhzad | -19/+16 | |
| The (almost) culmination of HirIdification It's finally over. This PR removes old `FIXME`s and renames some functions so that the `HirId` variant has the shorter name. All that remains (and rightfully so) is stuff in `resolve`, `save_analysis` and (as far as I can tell) in a few places where we can't replace `NodeId` with `HirId`. | ||||
| 2019-07-05 | Auto merge of #62099 - Mark-Simulacrum:syntax-print-clean-2, r=eddyb | bors | -5/+4 | |
| Remove io::Result from syntax::print Since we're now writing directly to the vector, there's no need to thread results through the whole printing infrastructure | ||||
| 2019-07-04 | rename hir::map::opt_local_def_id* | ljedrz | -4/+4 | |
| 2019-07-04 | rename hir::map::local_def_id_from_hir_id to local_def_id | ljedrz | -8/+8 | |
| 2019-07-04 | rename hir::map::local_def_id to local_def_id_from_node_id | ljedrz | -3/+4 | |
| 2019-07-04 | remove FIXMEs for functions that won't go away | ljedrz | -4/+0 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -4/+4 | |
| 2019-06-29 | Remove io::Result from syntax::print | Mark Rousskov | -5/+4 | |
| Since we're now writing directly to the vector, there's no need to thread results through the whole printing infrastructure | ||||
| 2019-06-24 | HIR: rename find_by_hir_id to find | ljedrz | -16/+16 | |
| 2019-06-24 | HIR: remove the NodeId find | ljedrz | -6/+0 | |
| 2019-06-24 | HIR: rename get_parent_node_by_hir_id to get_parent_node | ljedrz | -8/+8 | |
| 2019-06-24 | HIR: remove the NodeId get_parent_node, HirIdify is_argument | ljedrz | -15/+8 | |
| 2019-06-20 | rename hir::map::get_by_hir_id to get | ljedrz | -9/+9 | |
| 2019-06-20 | remove hir::map::get | ljedrz | -7/+1 | |
| 2019-06-20 | make blocks::Code work with HirId | ljedrz | -4/+4 | |
