about summary refs log tree commit diff
path: root/src/test/incremental/hashes
AgeCommit message (Collapse)AuthorLines
2016-12-06ICH: Add test case for enum constructor expressions.Michael Woerister-0/+387
2016-12-06ICH: Add test case for indexing expressions.Michael Woerister-0/+157
2016-12-06ICH: Add test case sensitive to function bodies in metadata.Michael Woerister-0/+86
2016-12-06ICH: Add test case for closure expressions.Michael Woerister-0/+144
2016-11-29Fix SVH tests some moreFlorian Diebold-166/+228
2016-11-29Fix remaining SVH testsFlorian Diebold-37/+101
2016-11-29WIP: update tests to pass -- not completeNiko Matsakis-33/+51
2016-11-29Fix new testsFlorian Diebold-56/+184
2016-11-22ICH: Add test case for struct constructor expressions.Michael Woerister-0/+254
2016-11-20Rollup merge of #37841 - michaelwoerister:ich-loop-tests, r=nikomatsakisGuillaume Gomez-0/+1049
ICH: Add regression tests for various kinds of loops. r? @nikomatsakis
2016-11-17Auto merge of #37660 - nikomatsakis:incremental-36349, r=eddybbors-0/+532
Separate impl items from the parent impl This change separates impl item bodies out of the impl itself. This gives incremental more resolution. In so doing, it refactors how the visitors work, and cleans up a bit of the collect/check logic (mostly by moving things out of collect that didn't really belong there, because they were just checking conditions). However, this is not as effective as I expected, for a kind of frustrating reason. In particular, when invoking `foo.bar()` you still wind up with dependencies on private items. The problem is that the method resolution code scans that list for methods with the name `bar` -- and this winds up touching *all* the methods, even private ones. I can imagine two obvious ways to fix this: - separating fn bodies from fn sigs (#35078, currently being pursued by @flodiebold) - a more aggressive model of incremental that @michaelwoerister has been advocating, in which we hash the intermediate results (e.g., the outputs of collect) so that we can see that the intermediate result hasn't changed, even if a particular impl item has changed. So all in all I'm not quite sure whether to land this or not. =) It still seems like it has to be a win in some cases, but not with the test cases we have just now. I can try to gin up some test cases, but I'm not sure if they will be totally realistic. On the other hand, some of the early refactorings to the visitor trait seem worthwhile to me regardless. cc #36349 -- well, this is basically a fix for that issue, I guess r? @michaelwoerister NB: Based atop of @eddyb's PR https://github.com/rust-lang/rust/pull/37402; don't land until that lands.
2016-11-17add test for hashing trait implsNiko Matsakis-0/+404
2016-11-17ICH: Add regression tests for various kinds of loops.Michael Woerister-0/+1049
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`
2016-11-16ICH: Add test case for type alias definitionsMichael Woerister-0/+249
2016-11-12Rollup merge of #37694 - michaelwoerister:test-if-ich, r=brsonEduard-Mihai Burtescu-0/+232
ICH: Add test case for if- and if-let-expressions. r? @nikomatsakis
2016-11-10ICH: Add test case for if- and if-let-expressions.Michael Woerister-0/+232
2016-11-10ICH: Add test case for call expressions.Michael Woerister-0/+203
2016-11-09Rollup merge of #37654 - michaelwoerister:test-let-ich, r=nikomatsakisEduard-Mihai Burtescu-0/+570
ICH: Add tests for let- and match-expressions. r? @nikomatsakis
2016-11-08ICH: Add test case for match-expressionsMichael Woerister-0/+342
2016-11-08ICH: Add test case for let-expressions.Michael Woerister-0/+228
2016-11-07Fix typos and redundant codeoldmanmike-5/+3
2016-11-07Apply changes recommended in code reviewoldmanmike-21/+40
Said code review and recommendations can be found here: https://github.com/rust-lang/rust/pull/37610
2016-11-05Add unary and binary tests for incr-compoldmanmike-0/+497
2016-11-02ICH: Add test case for when overflow checks are disabled.Michael Woerister-0/+251
2016-11-01ICH: Hash expression spans if their source location is captured for panicsMichael Woerister-0/+173
2016-10-26Prohibit patterns in trait methods without bodiesVadim Petrochenkov-4/+4
2016-10-12Rollup merge of #36831 - michaelwoerister:ich-updates, r=nikomatsakisAlex Crichton-0/+71
incr.comp.: Minor refactoring and update to struct ICH test case r? @nikomatsakis
2016-10-11Rollup merge of #37072 - michaelwoerister:enable-trait-ich-tests, r=nikomatsakisGuillaume Gomez-91/+85
ICH: Enable some cases in trait definition hashing. Enable some test cases originally written by @eulerdisk. The tests can be enabled now because @MathieuBordere has fixed the underlying problem in #36974. r? @nikomatsakis
2016-10-10ICH: Enable some cases in trait definition hashing.Michael Woerister-91/+85
2016-10-08Add ICH test case for constsFlorian Diebold-0/+132
Fixes #37000.
2016-10-08Add ICH test case for staticsFlorian Diebold-0/+185
Fixes #37001.
2016-10-07incr.comp.: Cover indirect changes in struct ICH test caseMichael Woerister-0/+71
2016-10-07Auto merge of #36940 - eulerdisk:incr_test_for_hash_trait, r=michaelwoeristerbors-0/+1121
Test Case for Incr. Comp. Hash for traits #36681. Fixes #36681 Part of #36350 Currently, the following tests fail: Unsafe modifier Extern modifier Extern c to rust-intrinsic Trait unsafety Change type of method parameter (&i32 => &mut i32) Mode of self parameter r? @michaelwoerister
2016-10-06Changed some namesAndrea Pretto-6/+6
2016-10-05ICH: update saw_ty for TyBareFn; Update tests for functioninterfacesMathieu Borderé-5/+23
2016-10-05Added the third parameter to the "add second lifetime bound to method type ↵Andrea Pretto-1/+1
parameter"
2016-10-05Fixes requested by @michaelwoeristerAndrea Pretto-31/+32
2016-10-05ICH - Add test cases for function interfacesMathieu Borderé-0/+382
2016-10-03Fixed lines longer than 100.Andrea Pretto-3/+6
2016-10-03Test Case for Incr. Comp. Hash for traits #36681.Andrea Pretto-0/+1117
2016-09-30Fix another comment in test/incremental/hashes/enum_defsMichael Woerister-1/+1
2016-09-30Fix comment in test/incremental/hashes/enum_defsMichael Woerister-1/+1
2016-09-30Fixes requested by @michaelwoerister.Andrea Pretto-2/+2
2016-09-29Test Case for Incr. Comp. Hash for enums #36674.Andrea Pretto-0/+715
2016-09-23ICH: Add ability to test the ICH of exported metadata items.Michael Woerister-0/+238