| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -1010/+0 | |
| 2020-03-23 | add missing visit_consts | Bastian Kauschke | -5/+15 | |
| 2020-03-01 | Clean up TypeFlags | Matthew Jasper | -4/+2 | |
| * Reorder flags to group similar ones together * Make some flags more granular * Compute `HAS_FREE_LOCAL_NAMES` from the other flags * Remove `HAS_TY_CLOSURE` * Add some more doc comments | ||||
| 2020-03-01 | Fix use of `has_infer_types` | Matthew Jasper | -3/+3 | |
| * Add a new method `has_infer_types_or_consts` that's used instead most of the time, since there's generally no reason to only consider types. * Remove use of `has_closure_types`, because closures are no longer implicitly linked to the `InferCtxt`. | ||||
| 2020-02-14 | Add fast path to eq_opaque_type_and_type | Matthew Jasper | -0/+3 | |
| 2020-02-14 | Erase regions in opaque types in typeck | Matthew Jasper | -0/+4 | |
| 2020-02-13 | Constness -> enum Const { Yes(Span), No } | Mazdak Farrokhzad | -1/+2 | |
| Same idea for `Unsafety` & use new span for better diagnostics. | ||||
| 2020-01-20 | Add `constness` field to `ty::Predicate::Trait` | Dylan MacKenzie | -0/+9 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -128/+107 | |
| 2019-11-17 | Auto merge of #66384 - cjgillot:typefoldable, r=Zoxc | bors | -2/+1 | |
| Derive TypeFoldable using a proc-macro A new proc macro is added in librustc_macros. It is used to derive TypeFoldable inside librustc and librustc_traits. For now, the macro uses the `'tcx` lifetime implicitly, and does not allow for a more robust selection of the adequate lifetime. The Clone-based TypeFoldable implementations are not migrated. Closes #65674 | ||||
| 2019-11-13 | Retire BraceStructTypeFoldableImpl and TupleStructTypeFoldableImpl. | Camille GILLOT | -2/+1 | |
| 2019-11-12 | Create intermediate enum ty::ConstKind. | Camille GILLOT | -6/+5 | |
| 2019-10-21 | Rollup merge of #65660 - varkor:canonical-const-to-bound-const, r=eddyb | Mazdak Farrokhzad | -12/+11 | |
| Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` It already has the right form, so this is just a renaming. Fixes https://github.com/rust-lang/rust/issues/65655. r? @eddyb | ||||
| 2019-10-21 | Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=Centril | Mazdak Farrokhzad | -1/+0 | |
| Remove unnecessary trait bounds and derivations This PR removes unnecessary trait bounds and derivations from many types. r? @nikomatsakis | ||||
| 2019-10-21 | Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` | varkor | -12/+11 | |
| 2019-10-21 | Remove many unnecessary trait derivations. | Nicholas Nethercote | -1/+0 | |
| 2019-10-20 | Fix resolve_type_vars_with_obligations not resolving const inference | ben | -0/+3 | |
| variables. | ||||
| 2019-10-07 | correct bug in the "has escaping regions" visitor | Niko Matsakis | -7/+9 | |
| Existing code could overlook types/substitutions that are embedded in (e.g.) an unevaluated constant. | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -3/+3 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: librustc | Alexander Regueiro | -2/+2 | |
| 2019-08-11 | Remove `is_self` and `has_self_ty` methods | Matthew Jasper | -3/+0 | |
| 2019-06-26 | Don't use lift to detect local types | John Kåre Alsaker | -0/+4 | |
| 2019-06-14 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -6/+1 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -33/+33 | |
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -30/+37 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -17/+17 | |
| 2019-06-12 | Fix fallout from `deny(unused_lifetimes)`. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-12 | rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -22/+22 | |
| 2019-05-25 | Remove unnecessary secondary recursion | Oliver Scherer | -1/+1 | |
| 2019-05-01 | Fix rebase from LazyConst removal | varkor | -16/+16 | |
| 2019-05-01 | Add `ConstValue::Placeholder` | varkor | -1/+5 | |
| 2019-05-01 | Implement fold_const for BoundVarReplacer | varkor | -14/+58 | |
| 2019-05-01 | impl fold_const for Shifter | Gabriel Smith | -6/+24 | |
| Signed-off-by: Gabriel Smith <ga29smith@gmail.com> | ||||
| 2019-05-01 | impl visit_const for HasEscapingVarsVisitor | Gabriel Smith | -0/+12 | |
| Signed-off-by: Gabriel Smith <ga29smith@gmail.com> | ||||
| 2019-05-01 | Add stubs for `fold_const` | varkor | -0/+8 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-05-01 | Add generic consts to `BottomUpFolder` | varkor | -7/+15 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-05-01 | Auto merge of #60195 - varkor:commontypes-to-common, r=eddyb | bors | -1/+1 | |
| Split `CommonTypes` into `CommonTypes` and `CommonLifetimes` The so-called "`CommonTypes`" contains more than just types. r? @eddyb | ||||
| 2019-04-28 | Fix lint findings in librustc | flip1995 | -5/+5 | |
| 2019-04-25 | Update existing usages | varkor | -1/+1 | |
| 2019-03-16 | Revert the `LazyConst` PR | Oliver Scherer | -10/+6 | |
| 2019-03-05 | Add const type flags | varkor | -9/+10 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -22/+24 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-11 | Remove two dead functions. | Nicholas Nethercote | -25/+0 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -22/+24 | |
| 2019-02-05 | move librustc to 2018 | Mark Mansi | -3/+3 | |
| 2019-01-05 | Rollup merge of #57314 - wiktorkuchta:master, r=Centril | kennytm | -1/+1 | |
| Fix repeated word typos Inspired by #57295 (I skipped 'be be' because of it) and my [PR in another repo ](https://github.com/e-maxx-eng/e-maxx-eng/pull/389) Not a stupid `sed`, I actually tried to fix case by case. | ||||
| 2019-01-04 | Update src/librustc/ty/fold.rs | Artem Varaksa | -1/+1 | |
| Co-Authored-By: wiktorkuchta <35867657+wiktorkuchta@users.noreply.github.com> | ||||
| 2019-01-03 | Fix repeated word typos | Wiktor Kuchta | -1/+1 | |
| Found with `git grep -P '\b([a-z]+)\s+\1\b'` | ||||
