about summary refs log tree commit diff
path: root/src/test/incremental/hashes/inherent_impls.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-787/+0
2022-12-25Remove references to removed option from tests.Camille GILLOT-3/+0
2022-08-01Bless incremental tests.Camille GILLOT-4/+4
2022-05-27Switch incremental/hashes tests to all use optimizations.Jakob Degen-1/+1
2022-04-23Bless incremental tests.Camille GILLOT-3/+3
2022-01-26Bless incremental tests.Camille GILLOT-42/+42
2021-09-20Bless incremental tests.Camille GILLOT-4/+8
2021-09-10Duplicate tests for incremental spans mode.Camille GILLOT-122/+378
2021-05-16Remove remains of rustc_dirty.Camille GILLOT-1/+4
2021-04-29Move parenting info to index_hir.Camille GILLOT-5/+5
2021-03-31Add var to BoundRegion. Add query to get bound vars for applicable items.Jack Huey-3/+3
2021-03-09Bless tests.Camille GILLOT-2/+2
2021-01-13Update code to account for extern ABI requirementMark Rousskov-1/+1
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-26/+26
2020-07-15mir_built is a lieBastian Kauschke-10/+10
2020-03-19hir: replace "items" terminology with "nodes" where appropriate.Eduard-Mihai Burtescu-26/+26
2020-03-17Update tests for erasing regions in typeckMatthew Jasper-1/+1
2020-03-14Replace `Hir` with `hir_owner` in testsJohn Kåre Alsaker-22/+22
2020-03-14Replace `HirBody` with `hir_owner_items` in testsJohn Kåre Alsaker-26/+26
2019-08-26Auto merge of #63580 - wesleywiser:move_promoted_out, r=oli-obkbors-3/+9
Move promoted MIR out of `mir::Body` r? @oli-obk
2019-08-25Revert "Allow a dirty MirBuilt for make_extern and make_method_extern"Josh Stone-1/+1
This reverts commit b4a6f597934f16f89e27058a32a514c9572f148f.
2019-08-23Fix incremental testsWesley Wiser-3/+9
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2019-03-30Update testsJohn Kåre Alsaker-30/+30
2019-03-20Add no_hash to query macro and move some queries overJohn Kåre Alsaker-11/+11
2019-03-18Add load_cached query modifier and keep dep node names consistent with query ↵John Kåre Alsaker-8/+8
names
2019-03-18Define queries using a proc macroJohn Kåre Alsaker-5/+5
2019-02-08Allow a dirty MirBuilt for make_extern and make_method_externJohn Kåre Alsaker-1/+1
2019-02-08Update testsJohn Kåre Alsaker-10/+10
2018-12-25Remove licensesMark Rousskov-11/+0
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-1/+1
2017-12-08incr.comp.: Hash spans unconditionally for full accuracy.Michael Woerister-1/+1
2017-11-29incr.comp.: Update test cases after metadata hashing removal.Michael Woerister-100/+0
2017-11-22modify inherent impls test to indicate `TypeckTables` do not changeNiko Matsakis-4/+40
I also added some comments explaining what is going on. In short, the changes in question do not, in fact, affect the`TypeckTables` in any semantic way. However, altering the order of lowering can cause it appear to affect the `TypeckTables`: if we lower generics before the body, then the `HirId` for things in the body will be affected. In this case, we are now lowering the generics etc *after* the body, so the hash no longer changes. This seems good.
2017-11-07Fix incremental tests after change to instantiation strategy.Michael Woerister-1/+17
2017-10-23update inherent_impls testsNiko Matsakis-6/+5
Now that we are visiting things in a different order during lowering, adding parameters winds up affecting the HirIds assigned to thinks in the method body, whereas it didn't before. We could fix this by reordering the order in which we visit `generics` during lowering, but this feels very fragile. Seems better to just let typeck tables be dirty here.
2017-10-13fix review commentsGarrett Berg-0/+2
2017-10-12incr comp: rustc_clean/dirty auto assertGarrett Berg-108/+120
This adds auto-assertion to `rustc_clean/dirty` and also implements more comprehensive testing for - src/test/incremental/hashes/enum_constructors.rs - src/test/incremental/hashes/enum_defs.rs - src/test/incremental/hashes/extern_mods.rs - src/test/incremental/hashes/inherent_impls.rs - src/test/incremental/hashes/statics.rs - src/test/incremental/hashes/struct_constructors.rs - src/test/incremental/hashes/type_defs.rs trait_defs.rs and trait_impl.rs are blocked on a hard to triage compiler ICE (at least hard for a newbie like me) having to do with some DepNodes not getting computed for traits. A FIXME has been added in the source to reflect this continued work.
2017-07-18Detect implicitly defined late bound lifetime parameters as wellVadim Petrochenkov-1/+1
2017-07-18Prohibit lifetime arguments in path segments with late bound lifetime parametersVadim Petrochenkov-1/+1
2017-04-12ICH: Replace old, transitive metadata hashing with direct hashing approach.Michael Woerister-12/+8
Instead of collecting all potential inputs to some metadata entry and hashing those, we directly hash the values we are storing in metadata. This is more accurate and doesn't suffer from quadratic blow-up when many entries have the same dependencies.
2017-02-03Let the ICH testing framework check that all #[rustc_dirty] attrs have been ↵Michael Woerister-16/+51
actually checked.
2016-12-20ICH: Add test cases for inherent impls.Michael Woerister-1/+409
2016-11-17hash the contents of impl-item-ref by adding them to visitorNiko Matsakis-0/+128
Also simplify some of the `ty::AssociatedItem` representation, in particular by folding `has_value` into `hir::Defaultness`