about summary refs log tree commit diff
path: root/src/test/incremental/hashes
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-8858/+0
2023-01-07Auto merge of #105323 - cjgillot:simplify-const-prop, r=davidtwcobors-2/+2
Perform SimplifyLocals before ConstProp. MIR before `ConstProp` may have a lot of dead writes, this makes `ConstProp` do unnecessary work. r? `@ghost`
2022-12-25Remove references to removed option from tests.Camille GILLOT-69/+0
2022-12-25Bless incremental test.Camille GILLOT-2/+2
2022-12-08Bless incremental testsGary Guo-10/+10
2022-11-05Bless more testsMichael Goulet-2/+2
2022-10-07typeck result is now affected by opaque type spansOli Scherer-1/+1
2022-08-03Bless incremental tests.Camille GILLOT-12/+12
2022-08-01Bless incremental tests.Camille GILLOT-31/+47
2022-05-27Switch incremental/hashes tests to all use optimizations.Jakob Degen-39/+39
2022-05-24Fix/bless tests broken by DSEJakob Degen-11/+11
2022-04-23Bless incremental tests.Camille GILLOT-24/+20
2022-04-12Bless tests.Camille GILLOT-30/+30
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-1/+1
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-1/+1
This reverts commit e7cc3bddbe0d0e374d05e7003e662bba1742dbae, reversing changes made to 734368a200904ef9c21db86c595dc04263c87be0.
2022-02-09Rollup merge of #93746 - cjgillot:nodefii, r=nikomatsakisYuki Okushi-4/+6
Remove defaultness from ImplItem. This information is not really used anywhere, except HIR pretty-printing. This makes ImplItem and TraitItem more similar.
2022-02-03Remove defaultness from ImplItem.Camille GILLOT-4/+6
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-1/+1
by using an opaque type obligation to bubble up comparisons between opaque types and other types Also uses proper obligation causes so that the body id works, because out of some reason nll uses body ids for logic instead of just diagnostics.
2022-01-26Bless incremental tests.Camille GILLOT-194/+212
2022-01-12Migrate inline assembly incremental tests to asm!Tomasz Miąsko-77/+53
2022-01-03Hash `Ident` spans in all HIR structuresAaron Hill-2/+2
This PR removes all of the `#[stable_hasher(project(name))]` attributes used in HIR structs. While these attributes are not known to be causing any issues in practice, we need to hash these in order for the incremental system to work correctly - a query could be otherwise be incorrectly marked green when a change occures in one of the `Span`s that it uses.
2021-12-29Add a couple needs-asm-support headers to testsbjorn3-0/+1
This will allow them to be ignored by codegen backends that don't support inline asm.
2021-11-21Simplify for loop desugarCameron Steffen-1/+1
2021-11-20Change `trait_defs.rs` incremental hash testEsteban Kuber-3/+3
`predicates_of` no longer changes when changing a trait's front matter because we no longer include the trait's span in the identity trait obligation.
2021-10-15Use more lowered spans in for loopCameron Steffen-3/+3
2021-10-15Don't mark for loop head span with desugaringCameron Steffen-1/+1
2021-09-20Bless incremental tests.Camille GILLOT-7/+11
2021-09-11Rebase fallout.Camille GILLOT-2/+2
2021-09-10Duplicate tests for incremental spans mode.Camille GILLOT-1057/+2443
2021-08-19Revert "Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, ↵Erik Desjardins-1/+1
r=oli-obk"" This reverts commit 8e11199a153218c13a419df37a9bb675181cccb7.
2021-08-15Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk"Erik Desjardins-1/+1
This reverts commit 8007b506ac5da629f223b755f5a5391edd5f6d01, reversing changes made to e55c13e1099b78b1a485202fabc9c1b10b1f1d15.
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-7/+5
2021-08-07Run RemoveZsts at mir-opt-level=1Erik Desjardins-1/+1
Effectively reverts commit 6960bc9696b05b15d8d89ece2fef14e6e62a43fc.
2021-05-16Remove remains of rustc_dirty.Camille GILLOT-24/+27
2021-05-15Fix tests on traits.Camille GILLOT-85/+100
2021-05-15Remove `label` in dirty/clean annotations.Camille GILLOT-534/+340
2021-04-29Move parenting info to index_hir.Camille GILLOT-12/+12
2021-04-03Remove attribute `#[link_args]`Vadim Petrochenkov-16/+0
2021-03-31Add var to BoundRegion. Add query to get bound vars for applicable items.Jack Huey-6/+6
2021-03-09Bless tests.Camille GILLOT-19/+19
2021-01-14Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasperbors-1/+1
Reintroduce hir::ExprKind::If Basically copied and paste #59288/https://github.com/rust-lang/rust-clippy/pull/4080 with some modifications. The vast majority of tests were fixed and now there are only a few remaining. Since I am still unable to figure out the missing pieces, any help with the following list is welcome. - [ ] **Unnecessary `typeck` exception**: [Cheated on this one to make CI green.](https://github.com/rust-lang/rust/pull/79328/files#diff-3faee9ba23fc54a12b7c43364ba81f8c5660045c7e1d7989a02a0cee1c5b2051) - [x] **Incorrect span**: [Span should reference `then` and `else` separately.](https://github.com/rust-lang/rust/pull/79328/files#diff-cf2c46e82222ee4b1037a68fff8a1af3c4f1de7a6b3fd798aacbf3c0475abe3d) - [x] **New note regarding `assert!`**: [Modified but not "wrong". Maybe can be a good thing?](https://github.com/rust-lang/rust/pull/79328/files#diff-9e0d7c89ed0224e2b62060c957177c27db43c30dfe3c2974cb6b5091cda9cfb5) - [x] **Inverted report location**: [Modified but not "wrong". Locations were inverted.](https://github.com/rust-lang/rust/pull/79328/files#diff-f637ce7c1f68d523a165aa9651765df05e36c4d7d279194b1a6b28b48a323691) - [x] **`src/test/ui/point-to-type-err-cause-on-impl-trait-return.rs` has weird errors**: [Not sure why this is happening.](https://github.com/rust-lang/rust/pull/79328/files#diff-c823c09660f5b112f95e97e8ff71f1797b6c7f37dbb3d16f8e98bbaea8072e95) - [x] **Missing diagnostic**: [???](https://github.com/rust-lang/rust/pull/79328/files#diff-6b8ab09360d725ba4513933827f9796b42ff9522b0690f80b76de067143af2fc)
2021-01-13Update code to account for extern ABI requirementMark Rousskov-2/+2
2021-01-07Reintroduce hir::ExprKind::IfCaio-1/+1
2020-11-26Update test.Camille GILLOT-78/+53
2020-10-26simplify-locals: Remove unused assignments regardless of rvalue kindTomasz Miąsko-2/+2
2020-10-26simplify-locals: Remove unused set-discriminant statementsTomasz Miąsko-1/+1
Update affected ui & incremental tests to use a user declared variable bindings instead of temporaries. The former are preserved because of debuginfo, the latter are not.
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-90/+90
2020-07-15mir_built is a lieBastian Kauschke-152/+152
2020-05-24Clear MIR local type annotations after borrowckJonas Schievink-1/+1
2020-04-20const prop: don't special case return placeJonas Schievink-4/+4