| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -2/+2 | |
| 2019-09-26 | Rename `Stmt.node` to `Stmt.kind` | varkor | -1/+1 | |
| 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 | -6/+3 | |
| 2019-09-26 | Rename `Pat.node` to `Pat.kind` | varkor | -2/+2 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -9/+9 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-26 | Auto merge of #64513 - varkor:sty-begone, r=eddyb | bors | -3/+3 | |
| Rename `TyS.sty` to `TyS.kind` Fixes https://github.com/rust-lang/rust/issues/64353. r? @eddyb | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -3/+3 | |
| 2019-09-25 | Rollup merge of #64764 - Mark-Simulacrum:snap, r=Centril | Mazdak Farrokhzad | -1/+0 | |
| Master is now 1.40 r? @pietroalbini | ||||
| 2019-09-25 | Snap cfgs to new beta | Mark Rousskov | -1/+0 | |
| 2019-09-16 | or-patterns: rvalue_promotion: remove `top_pats_hack`. | Mazdak Farrokhzad | -7/+3 | |
| 2019-09-15 | or-patterns: use `top_pats_hack` to make things compile. | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-08 | Dont use gate bind_by_move_pattern_guards internally. | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-05 | Remove rustc_diagnostic_macros feature | Mark Rousskov | -1/+0 | |
| 2019-09-05 | Replace diagnostic plugins with macro_rules | Mark Rousskov | -10/+4 | |
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -3/+3 | |
| 2019-08-24 | Modifies how Arg, Arm, Field, FieldPattern and Variant are visited | Caio | -7/+3 | |
| Part of the necessary work to accomplish #63468. | ||||
| 2019-08-21 | `r#type` -> `ty` | Artem Varaksa | -4/+4 | |
| 2019-08-21 | improve diagnostics: break/continue wrong context | Artem Varaksa | -20/+19 | |
| 2019-08-18 | Better error message for break in async blocks. | Giles Cope | -3/+14 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -1/+1 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -1/+1 | |
| 2019-08-04 | Rename `ItemKind::Ty` to `ItemKind::TyAlias` | varkor | -1/+1 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -1/+1 | |
| 2019-07-28 | Auto merge of #63090 - Centril:rollup-xnjwm2h, r=Centril | bors | -0/+5 | |
| Rollup of 8 pull requests Successful merges: - #61856 (Lint attributes on function arguments) - #62360 (Document that ManuallyDrop::drop should not called more than once) - #62392 (Update minifier-rs version) - #62871 (Explicit error message for async recursion.) - #62995 (Avoid ICE when suggestion span is at Eof) - #63053 (SystemTime docs: recommend Instant for elapsed time) - #63081 (tidy: Cleanup the directory whitelist) - #63088 (Remove anonymous_parameters from unrelated test) Failed merges: r? @ghost | ||||
| 2019-07-28 | Rollup merge of #61856 - c410-f3r:attrs-fn, r=matthewjasper | Mazdak Farrokhzad | -0/+5 | |
| Lint attributes on function arguments Fixes #61238. cc #60406 | ||||
| 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-28 | Rollup merge of #62550 - Centril:rest-patterns, r=petrochenkov | Mazdak Farrokhzad | -1/+1 | |
| Implement RFC 2707 + Parser recovery for range patterns Implement https://github.com/rust-lang/rfcs/pull/2707. - Add a new basic syntactic pattern form `ast::PatKind::Rest` (parsed as `..` or `DOTDOT`) and simplify `ast::PatKind::{Slice, Tuple, TupleStruct}` as a result. - Lower `ast::PatKind::Rest` in combination with the aforementioned `PatKind` variants as well as `PatKind::Ident`. The HIR remains unchanged for now (may be advisable to make slight adjustments later). - Refactor `parser.rs` wrt. parsing sequences and lists of things in the process. - Add parser recovery for range patterns of form `X..`, `X..=`, `X...`, `..Y`, `..=Y`, and `...Y`. This should make it easy to actually support these patterns semantically later if we so desire. cc https://github.com/rust-lang/rust/issues/62254 r? @petrochenkov | ||||
| 2019-07-28 | Add exceptions for ExprKind::Err/TyKind::Error. | Mazdak Farrokhzad | -1/+1 | |
| 2019-07-27 | syntax_ext: `proc_macro_decls` -> `proc_macro_harness` | Vadim Petrochenkov | -1/+0 | |
| Few other minor renamings for consistency. Remove one unused dependency from `rustc_passes`. Fix libsyntax tests. Fix rebase. | ||||
| 2019-07-27 | Break dependencies between `syntax_ext` and some other crates | Vadim Petrochenkov | -2/+1 | |
| Move `source_uitil` macros into `syntax_ext` Cleanup dependencies of `rustc_driver` | ||||
| 2019-07-27 | Lint attributes on function arguments | Caio | -0/+5 | |
| 2019-07-25 | Rollup merge of #62735 - petrochenkov:galloc, r=alexcrichton | Mazdak Farrokhzad | -8/+2 | |
| Turn `#[global_allocator]` into a regular attribute macro It was a 99% macro with exception of some diagnostic details. As a result of the change, `#[global_allocator]` now works in nested modules and even in nameless blocks. Fixes https://github.com/rust-lang/rust/issues/44113 Fixes https://github.com/rust-lang/rust/issues/58072 | ||||
| 2019-07-24 | syntax_ext: Turn `#[global_allocator]` into a regular attribute macro | Vadim Petrochenkov | -8/+2 | |
| 2019-07-23 | normalize use of backticks for compiler messages in remaining modules | Samy Kacimi | -5/+5 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-13 | Make `register_[long_]diagnostics` hygienic | Matthew Jasper | -1/+1 | |
| 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 | Remove ExprKind::While from HIR. | Mazdak Farrokhzad | -35/+4 | |
| 2019-07-05 | Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=Zoxc | Mazdak Farrokhzad | -3/+3 | |
| 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 | -3/+3 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -5/+5 | |
| 2019-06-29 | Always parse 'async unsafe fn' + properly ban in 2015. | Mazdak Farrokhzad | -7/+0 | |
| 2019-06-24 | Enable internal lints in bootstrap | flip1995 | -1/+0 | |
| 2019-06-24 | HIR: rename find_by_hir_id to find | ljedrz | -2/+2 | |
| 2019-06-23 | let_chains: Revert 'fn with' in ast_validation. | Mazdak Farrokhzad | -19/+10 | |
| 2019-06-23 | let_chains: Remove ast_validation logic in favor of lowering with recovery. | Mazdak Farrokhzad | -59/+9 | |
| 2019-06-23 | let_chains: Inline visit_expr_with_let_maybe_allowed. | Mazdak Farrokhzad | -37/+25 | |
