| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-21 | Use Arena inside hir::StructField. | Camille GILLOT | -1/+1 | |
| 2019-12-21 | Use Arena inside hir::EnumDef. | Camille GILLOT | -4/+4 | |
| 2019-12-21 | Use Arena inside hir::ImplItem. | Camille GILLOT | -2/+2 | |
| 2019-12-21 | Use Arena inside hir::TraitItem. | Camille GILLOT | -2/+2 | |
| 2019-12-21 | Use Arena inside hir::ForeignItem. | Camille GILLOT | -4/+4 | |
| 2019-12-21 | Handle Attributes in arena. | Camille GILLOT | -1/+1 | |
| 2019-12-21 | Use Arena inside hir::Item. | Camille GILLOT | -12/+12 | |
| 2019-11-29 | allow customising ty::TraitRef's printing behavior | Mikhail Babenko | -1/+1 | |
| fix clippy allow customising ty::TraitRef's printing behavior fix clippy stylistic fix | ||||
| 2019-11-14 | Remove unused error_codes.rs files | Guillaume Gomez | -169/+0 | |
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -1/+2 | |
| 2019-10-19 | Rollup merge of #65252 - petrochenkov:deriveholders2, r=matthewjasper | Mazdak Farrokhzad | -5/+5 | |
| expand: Simplify expansion of derives And make it more uniform with other macros. This is done by merging placeholders for future derives' outputs into the derive container's output fragment early (addressing FIXMEs from https://github.com/rust-lang/rust/pull/63667). Also, macros with names starting with `_` are no longer reported as unused, in accordance with the usual behavior of `unused` lints. r? @matthewjasper or @mark-i-m | ||||
| 2019-10-19 | privacy: Avoid one more `unwrap` causing an ICE in rustdoc | Vadim Petrochenkov | -5/+5 | |
| The issue is rustdoc-specific because its root cause if the `everybody_loops` pass makes some def-ids to not have local hir-ids | ||||
| 2019-10-18 | rustc: arena-allocate the slice in `ty::GenericsPredicate`, not the whole ↵ | Eduard-Mihai Burtescu | -2/+2 | |
| struct. | ||||
| 2019-10-07 | Fix/improve some error codes long explanation | Guillaume Gomez | -6/+17 | |
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -9/+9 | |
| 2019-09-26 | Rename `Ty.node` to `Ty.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `ImplItem.node` to `ImplItem.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `Pat.node` to `Pat.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -2/+2 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -2/+2 | |
| 2019-09-05 | Remove rustc_diagnostic_macros feature | Mark Rousskov | -1/+0 | |
| 2019-09-05 | Replace diagnostic plugins with macro_rules | Mark Rousskov | -7/+2 | |
| 2019-08-21 | review comments | Esteban Küber | -33/+21 | |
| 2019-08-21 | When declaring a declarative macro in an item it's only accessible inside it | Esteban Küber | -27/+33 | |
| 2019-08-15 | Remove `Spanned` from `{ast,hir}::FieldPat` | Vadim Petrochenkov | -2/+2 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -7/+7 | |
| 2019-08-10 | diagnostics: Describe crate root modules in `DefKind::Mod` as "crate" | Vadim Petrochenkov | -1/+1 | |
| 2019-08-09 | Rollup merge of #63114 - matthewjasper:hygienic-format-args, r=petrochenkov | Mazdak Farrokhzad | -31/+159 | |
| Remove gensym in format_args This also fixes some things to allow us to export opaque macros from libcore: * Don't consider items that are only reachable through opaque macros as public/exported (so they aren't linted as needing docs) * Mark private items reachable from the root of libcore as unstable - they are now reachable (in principle) in other crates via macros in libcore r? @petrochenkov | ||||
| 2019-08-05 | Fix various issues with making items reachable through macros | Matthew Jasper | -31/+159 | |
| * Allow items to be accessible through private modules and fields when a macro can access them. * Don't mark type-private items as reachable. * Never make items exported/public via macros | ||||
| 2019-08-05 | Got rid of concept of 'principal trait' in more places in codebase. | Alexander Regueiro | -3/+7 | |
| 2019-08-05 | A few cosmetic improvements. | Alexander Regueiro | -2/+3 | |
| 2019-08-04 | Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias` | varkor | -3/+3 | |
| 2019-08-04 | Rename `ItemKind::Ty` to `ItemKind::TyAlias` | varkor | -5/+5 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -9/+9 | |
| 2019-07-28 | Deny `unused_lifetimes` through rustbuild | Vadim Petrochenkov | -2/+0 | |
| 2019-07-28 | Remove lint annotations in specific crates that are already enforced by ↵ | Vadim Petrochenkov | -3/+0 | |
| rustbuild Remove some random unnecessary lint `allow`s | ||||
| 2019-07-07 | rustc: Remove `dylib` crate type from most rustc crates | Alex Crichton | -1/+0 | |
| Now that procedural macros no longer link transitively to libsyntax, this shouldn't be needed any more! This commit is an experiment in removing all dynamic libraries from rustc except for librustc_driver itself. Let's see how far we can get with that! | ||||
| 2019-07-06 | privacy: Only opaque macros leak private things | Vadim Petrochenkov | -1/+2 | |
| 2019-07-05 | Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=Zoxc | Mazdak Farrokhzad | -11/+11 | |
| 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 | Rollup merge of #61545 - flip1995:internal_lints, r=oli-obk | Mazdak Farrokhzad | -1/+0 | |
| 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-04 | rename hir::map::local_def_id_from_hir_id to local_def_id | ljedrz | -11/+11 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -10/+10 | |
| 2019-06-24 | Enable internal lints in bootstrap | flip1995 | -1/+0 | |
| 2019-06-24 | HIR: rename find_by_hir_id to find | ljedrz | -1/+1 | |
| 2019-06-24 | HIR: rename get_parent_node_by_hir_id to get_parent_node | ljedrz | -3/+3 | |
| 2019-06-20 | rename hir::map::get_by_hir_id to get | ljedrz | -4/+4 | |
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-17 | remove _by_hir_id if there is no NodeId counterpart | ljedrz | -8/+8 | |
| 2019-06-14 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -5/+1 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -21/+21 | |
