| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -309/+0 | |
| 2022-12-09 | Remove unneeded field from `SwitchTargets` | Jakob Degen | -2/+2 | |
| 2022-11-02 | Ban dashes in miropt test file names | Jakob Degen | -125/+125 | |
| 2022-09-08 | Remove ReEmpty | Jack Huey | -38/+35 | |
| 2022-07-28 | bless mir opt tests | Nilstrieb | -109/+109 | |
| 2022-07-09 | tweak names and output and bless | Ralf Jung | -12/+12 | |
| 2022-06-14 | manually bless 32-bit mir-opt tests | b-naber | -2/+2 | |
| 2022-06-14 | implement valtrees as the type-system representation for constant values | b-naber | -2/+2 | |
| 2022-06-14 | Rename the `ConstS::val` field as `kind`. | Nicholas Nethercote | -2/+2 | |
| And likewise for the `Const::val` method. Because its type is called `ConstKind`. Also `val` is a confusing name because `ConstKind` is an enum with seven variants, one of which is called `Value`. Also, this gives consistency with `TyS` and `PredicateS` which have `kind` fields. The commit also renames a few `Const` variables from `val` to `c`, to avoid confusion with the `ConstKind::Value` variant. | ||||
| 2022-06-03 | Fully stabilize NLL | Jack Huey | -4/+4 | |
| 2022-04-19 | Add an explicit `Span` field to `OutlivesConstraint` | Aaron Hill | -12/+12 | |
| Previously, we would retrieve the span from the `Body` using the `locations` field. However, we may end up changing the `locations` field when moving a constraint from a promoted to a different body. We now store the original `Span` in a dedication field, so that changes to the `locations` do not affect the quality of our diagnostics. | ||||
| 2022-03-09 | manually bless 32-bit stderr | b-naber | -7/+7 | |
| 2022-03-09 | bless tests | b-naber | -8/+8 | |
| 2021-12-31 | Ensure that early-bound function lifetimes are always 'local' | Aaron Hill | -2/+2 | |
| During borrowchecking, we treat any free (early-bound) regions on the 'defining type' as `RegionClassification::External`. According to the doc comments, we should only have 'external' regions when checking a closure/generator. However, a plain function can also have some if its regions be considered 'early bound' - this occurs when the region is constrained by an argument, appears in a `where` clause, or in an opaque type. This was causing us to incorrectly mark these regions as 'external', which caused some diagnostic code to act as if we were referring to a 'parent' region from inside a closure. This PR marks all instantiated region variables as 'local' when we're borrow-checking something other than a closure/generator/inline-const. | ||||
| 2021-09-02 | Bless 32bit MIR opt tests | Matthew Jasper | -15/+15 | |
| 2021-09-01 | Fix drop handling for `if let` expressions | Matthew Jasper | -15/+15 | |
| MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables. | ||||
| 2021-04-02 | Fix diagnostic issue when using FakeReads in closures | Roxane | -6/+6 | |
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -76/+66 | |
| 2020-10-04 | Bless mir-opt tests | Aaron Hill | -98/+98 | |
| 2020-09-26 | Bless mir-opt 32-bit tests | varkor | -1/+1 | |
| 2020-09-26 | Bless mir-opt tests | varkor | -1/+1 | |
| 2020-09-17 | Rename 32 bit mir files to be more tool friendly | Nixon Enraght-Moony | -0/+0 | |
| See #75746 | ||||
| 2020-09-17 | Rename 64 bit mir files to be more tool friendly | Nixon Enraght-Moony | -0/+0 | |
| See #75746 | ||||
| 2020-08-21 | Suppress "const" prefix of FnDef in MIR dump | Lzu Tao | -4/+4 | |
| 2020-08-20 | Suppress MIR comments of Unit type | Lzu Tao | -24/+0 | |
| 2020-08-20 | Suppress MIR comments for FnDef in ty::Const | Lzu Tao | -12/+0 | |
| 2020-08-17 | Update MIR tests with comment verbosity fix | Austin Lasher | -78/+0 | |
| 2020-07-29 | Move mir-opt tests to toplevel | Xavier Denis | -0/+0 | |
| 2020-07-29 | add crate name to mir dumps | Xavier Denis | -2/+2 | |
| 2020-06-07 | rename FalseEdges -> FalseEdge | Ralf Jung | -2/+2 | |
| 2020-06-04 | Revert "Bless mir-opt tests" | Felix S. Klock II | -106/+106 | |
| This reverts commit a030c923412b0a0f7b02a585debe7bf60357370d. | ||||
| 2020-05-09 | Bless mir-opt tests | Matthew Jasper | -106/+106 | |
| 2020-04-21 | update ref test | Niko Matsakis | -71/+72 | |
| 2020-04-16 | reserve variable for empty root region | Niko Matsakis | -85/+89 | |
| 2020-04-14 | update 32 bit mir-opt tests | Bastian Kauschke | -2/+14 | |
| 2020-04-13 | bless mir opt tests | Bastian Kauschke | -2/+14 | |
| 2020-04-11 | Use write!-style syntax for MIR assert terminator | robojumper | -2/+2 | |
| 2020-04-07 | Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. | Ana-Maria Mihalache | -61/+220 | |
| 2020-04-07 | --bless more mir-opt tests. | Ana-Maria Mihalache | -44/+213 | |
| 2019-11-27 | rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵ | Eduard-Mihai Burtescu | -0/+4 | |
| VarDebugInfo. | ||||
| 2019-06-25 | Use `as_temp` to evaluate statement expressions | Matthew Jasper | -3/+3 | |
| 2019-06-13 | Create fewer basic blocks in match MIR lowering | Matthew Jasper | -3/+3 | |
| 2019-05-10 | Adjust mir-opt tests for new HIR without If | Mazdak Farrokhzad | -3/+3 | |
| 2019-04-24 | Rollup merge of #56278 - eddyb:mir-debuginfo-proof, r=nikomatsakis | Mazdak Farrokhzad | -2/+2 | |
| Future-proof MIR for dedicated debuginfo. This is #56231 without the last commit (the one that actually moves to `VarDebuginfo`). Nothing should be broken, but it should no longer depend on debuginfo for anything else. r? @nikomatsakis | ||||
| 2019-04-23 | rustc_mir: create the `let` and "remainder" scopes in source order. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -1/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -20/+0 | |
| 2018-09-18 | Update mir-opt test suite | Rémy Rakic | -3/+3 | |
| 2018-09-10 | optimize `let x: T = ..` to avoid a temporary | Niko Matsakis | -38/+0 | |
| For some weird reason this fixes `intrinsic-move-val`. It also affects various test heuristics. I removed one test (`reborrow_basic`) that didn't seem to really be testing anything in particular anymore, compared to all the other tests we've got. | ||||
| 2018-09-06 | Fix tests | Wesley Wiser | -1/+1 | |
