| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-28 | More tracing instrumentation | Oli Scherer | -16/+20 | |
| 2021-08-26 | optimize `HasTypeFlagsVisitor` | lcnr | -33/+81 | |
| 2021-08-26 | type flags | lcnr | -8/+9 | |
| 2021-08-26 | review | lcnr | -7/+10 | |
| 2021-08-26 | don't just compare `ty::Const` | lcnr | -0/+40 | |
| 2021-08-26 | update `TypeFlags` to deal with missing ct substs | lcnr | -21/+82 | |
| 2021-08-26 | make unevaluated const substs optional | lcnr | -13/+22 | |
| 2021-08-26 | require a `tcx` for `TypeVisitor` | lcnr | -8/+38 | |
| 2021-07-03 | Remove `ty::Binder::bind()` | Yuki Okushi | -82/+0 | |
| Co-authored-by: Noah Lev <camelidcamel@gmail.com> | ||||
| 2021-04-08 | Fix outdated crate names in compiler docs | pierwill | -1/+1 | |
| Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths. | ||||
| 2021-04-02 | Auto merge of #83207 - oli-obk:valtree2, r=lcnr | bors | -0/+5 | |
| normalize mir::Constant differently from ty::Const in preparation for valtrees Valtrees are unable to represent many kind of constant values (this is on purpose). For constants that are used at runtime, we do not need a valtree representation and can thus use a different form of evaluation. In order to make this explicit and less fragile, I added a `fold_constant` method to `TypeFolder` and implemented it for normalization. Normalization can now, when it wants to eagerly evaluate a constant, normalize `mir::Constant` directly into a `mir::ConstantKind::Val` instead of relying on the `ty::Const` evaluation. In the future we can get rid of the `ty::Const` in there entirely and add our own `Unevaluated` variant to `mir::ConstantKind`. This would allow us to remove the `promoted` field from `ty::ConstKind::Unevaluated`, as promoteds can never occur in the type system. cc `@rust-lang/wg-const-eval` r? `@lcnr` | ||||
| 2021-03-31 | Fmt and test revert | Jack Huey | -6/+8 | |
| 2021-03-31 | Fix new problem from rebase and a little cleanup | Jack Huey | -7/+8 | |
| 2021-03-31 | Add var to BoundRegion. Add query to get bound vars for applicable items. | Jack Huey | -22/+141 | |
| 2021-03-31 | Track bound vars | Jack Huey | -51/+100 | |
| 2021-03-31 | Add tcx lifetime to Binder | Jack Huey | -17/+42 | |
| 2021-03-31 | count bound vars | Jack Huey | -0/+48 | |
| 2021-03-31 | Add a new normalization query just for mir constants | Oli Scherer | -0/+5 | |
| 2021-03-15 | Make functions passed to BoundVarReplacer be optional | Jack Huey | -55/+53 | |
| 2021-02-26 | Miscellaneous inlining improvements | Tomasz Miąsko | -0/+7 | |
| Inline a few small and hot functions. | ||||
| 2020-12-18 | Make BoundRegion have a kind of BoungRegionKind | Jack Huey | -33/+24 | |
| 2020-12-05 | remove redundant clones | Matthias Krüger | -1/+1 | |
| 2020-11-17 | Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk | bors | -46/+64 | |
| Introduce `TypeVisitor::BreakTy` Implements MCP rust-lang/compiler-team#383. r? `@ghost` cc `@lcnr` `@oli-obk` ~~Blocked on FCP in rust-lang/compiler-team#383.~~ | ||||
| 2020-11-16 | compiler: fold by value | Bastian Kauschke | -22/+18 | |
| 2020-11-15 | Remove dead `TypeFoldable::visit_tys_shallow` method | LeSeulArtichaut | -14/+0 | |
| 2020-11-14 | Set the default `BreakTy` to `!` | LeSeulArtichaut | -1/+4 | |
| 2020-11-14 | Use `TypeVisitor::BreakTy` in `HasEscapingVarsVisitor` | LeSeulArtichaut | -4/+11 | |
| 2020-11-14 | Use `TypeVisitor::BreakTy` in `HasTypeFlagsVisitor` | LeSeulArtichaut | -5/+22 | |
| 2020-11-14 | Introduce `TypeVisitor::BreakTy` | LeSeulArtichaut | -24/+29 | |
| 2020-10-30 | Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obk | bors | -47/+70 | |
| TypeVisitor: use `std::ops::ControlFlow` instead of `bool` Implements MCP rust-lang/compiler-team#374. Blocked on FCP in rust-lang/compiler-team#374. r? `@lcnr` cc `@jonas-schievink` | ||||
| 2020-10-30 | Remove implicit `Continue` type | LeSeulArtichaut | -33/+27 | |
| 2020-10-30 | Use `ControlFlow::is{break,continue}` | LeSeulArtichaut | -6/+4 | |
| 2020-10-30 | TypeVisitor: use `std::ops::ControlFlow` instead of `bool` | LeSeulArtichaut | -46/+77 | |
| 2020-10-29 | Make anonymous binders start at 0 | Jack Huey | -2/+3 | |
| 2020-10-23 | move `visit_predicate` into `TypeVisitor` | Bastian Kauschke | -6/+5 | |
| 2020-10-14 | Remove unused code from rustc_middle | est31 | -45/+6 | |
| 2020-09-18 | don't take `TyCtxt` by reference | Bastian Kauschke | -4/+4 | |
| 2020-09-04 | ty.flags -> ty.flags() | LeSeulArtichaut | -3/+8 | |
| 2020-09-04 | Change ty.kind to a method | LeSeulArtichaut | -3/+3 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+1019 | |
