about summary refs log tree commit diff
path: root/src/test/incremental
AgeCommit message (Collapse)AuthorLines
2018-07-16Revert "Clean up CodegenUnit name generation."Michael Woerister-1/+1
This reverts commit 2c5cd9ce53d2d25041db0cb02b40ba460ffa8908.
2018-07-11Clean up CodegenUnit name generation.Michael Woerister-1/+1
2018-06-30Added incremental test for interlinking static references.Alexander Regueiro-0/+25
2018-06-18Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelixbors-1/+1
Add existential type definitions Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items. r? @nikomatsakis
2018-06-10create separate dep-nodes for predicates_of and explicit_predicates_oftoidiu-0/+22
2018-06-07Add existential type definitonsOliver Schneider-1/+1
2018-05-18Auto merge of #50653 - oli-obk:bad_const, r=cramertjbors-0/+1
Make the `const_err` lint `deny`-by-default At best these things are runtime panics (debug mode) or overflows (release mode). More likely they are public constants that are unused in the crate declaring them. This is not a breaking change, as dependencies won't break and root crates can `#![warn(const_err)]`, though I don't know why anyone would do that.
2018-05-17Rename trans to codegen everywhere.Irina Popa-29/+29
2018-05-12Make the `const_err` lint `deny`-by-defaultOliver Schneider-0/+1
2018-04-14Don't recurse into allocations, use a global table insteadOliver Schneider-0/+19
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-43/+43
2018-04-07[incremental] Hash `Allocation`sShotaro Yamada-0/+64
2018-03-31Auto merge of #49500 - oli-obk:mir_dep_graph, r=michaelwoeristerbors-0/+20
Introduce an edge from a const eval to the MIR of all statics it depends on r? @michaelwoerister
2018-03-30Introduce an edge from a const eval to the MIR of all statics it depends onOliver Schneider-0/+20
2018-03-30Auto merge of #49424 - oli-obk:stable_allocid_hash, r=michaelwoeristerbors-0/+28
Fix stable hashing of AllocIds r? @michaelwoerister fixes #49081
2018-03-28Fix stable hashing of AllocIdsOliver Schneider-0/+28
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-1/+0
2018-03-23Fixed issues with incremental tests.David Wood-1/+1
2018-03-20Encode/decode extern statics in metadata and incremental cacheOliver Schneider-0/+21
2018-03-19Auto merge of #49079 - oli-obk:cross_miri, r=michaelwoeristerbors-0/+18
Cleanup metadata and incremental cache processing of constants fixes #49033 fixes #49081 we really need tests for this. do we have any cross compilation tests? I couldn't find any
2018-03-16extend stable hasher to support `CanonicalTy`Niko Matsakis-0/+22
2018-03-16Cleanup metadata and incremental cache processing of constantsOliver Schneider-0/+18
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-1/+0
Stabilize the syntax `a..=b` and `..=b`.
2018-03-05incr.comp.: Add regression test for detecting feature gate changes.Michael Woerister-0/+23
2018-02-28Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiynManish Goregaokar-1/+1
Fixes #47311. r? @nrc
2018-02-22Implement --remap-path-prefixJeremy Fitzhardinge-1/+1
Remove experimental -Zremap-path-prefix-from/to, and replace it with the stabilized --remap-path-prefix=from=to variant. This is an implementation for issue of #41555.
2018-02-20rustc_mir: always run the deaggregator.Eduard-Mihai Burtescu-2/+2
2018-02-07Fix tests for MIR loop loweringbobtwinkles-1/+1
Fixes the hash test to recognize that MirValidated can change when changing around labels, and add a new test that makes sure we're lowering loop statements correctly.
2018-01-29tests: replace "lvalue" terminology with "place".Eduard-Mihai Burtescu-3/+3
2017-12-30Remove excessive trailing newlines.kennytm-5/+0
2017-12-18incr.comp.: Mark DepKind node as input.Michael Woerister-0/+24
2017-12-11move `resolve_lifetimes` into a proper queryNiko Matsakis-3/+12
Now that we made `resolve_lifetimes` into a query, elision errors no longer abort compilation, which affects some tests. Also, remove `dep_graph_crosscontaminate_tables` -- there is no a path in the dep-graph, though red-green handles it. The same scenario is (correctly) tested by issue-42602.rs in any case.
2017-12-08incr.comp.: Hash spans unconditionally for full accuracy.Michael Woerister-437/+130
2017-12-05Format function interface fingerprint hash testsJeff Crocker-56/+70
2017-12-05Update 'while loop' fingerprint hash testsJeff Crocker-54/+36
2017-12-05Update 'while let loop' fingerprint hash testsJeff Crocker-54/+36
2017-12-05Update loop expression fingerprint hash testsJeff Crocker-48/+32
2017-12-05Update inline asm fingerprint hash testsJeff Crocker-36/+24
2017-12-05Update function interface fingerprint hash testsJeff Crocker-108/+108
2017-12-05Update for loop fingerprint hash testsJeff Crocker-66/+44
2017-12-05Update closure expression fingerprint hash testsJeff Crocker-36/+24
2017-11-29incr.comp.: Update test cases after metadata hashing removal.Michael Woerister-1117/+5
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-22Rollup merge of #45987 - gaurikholkar:let-expr, r=michaelwoeristerkennytm-210/+36
update let-expressions hash test to use `except` A part of #44924, this PR updated let-expressions test using `except`. cc @michaelwoerister r? @nikomatsakis
2017-11-16Rollup merge of #45951 - CrockAgile:master, r=michaelwoeristerGuillaume Gomez-145/+75
incr: Update hash tests to use `except`-style checking Part of #44924 r? @michaelwoerister
2017-11-14Remove checked arithmetic from if expression hash testsJeff Crocker-4/+4
2017-11-14Rollup merge of #45950 - ↵Guillaume Gomez-112/+56
fitzgen:update-unary-and-binary-exprs-test-to-use-incr-except, r=michaelwoerister incr: Make `unary_and_binary_exprs.rs` use `except`-style incremental checking Part of #44924 r? @michaelwoerister
2017-11-14Rollup merge of #45941 - gaurikholkar:master, r=nikomatsakisGuillaume Gomez-60/+47
update match-expressions.rs with DepNode labels As a part of #44924, I have updated the match-expressions.rs. The PR has tests verified for the following dependency nodes for let-expressions - MirValidated - MirOptimized - TypeCheckTables - TypeOfItem - GenericsOfItem - PredicatesOfItem - FnSignature cc @michaelwoerister r? @nikomatsakis
2017-11-14update let-expressions to use exceptgaurikholkar-210/+36
2017-11-13fixing indentationgaurikholkar-12/+12