rust/src/test/incremental
Niko Matsakis 5415b34ca6 write to inherent_impls during the visitor
The goal here is to avoid writing to the `inherent_impls` map from
within the general `Coherence` task, and instead write to it as we
visit. Writing to it from the Coherence task is actually an information
leak; it happened to be safe because Coherence read from
`DepNode::Krate`, but that was very coarse.

I removed the `Rc` here because, upon manual inspection, nobody clones
the data in this table, and it meant that we can accumulate the data in
place. That said, the pattern that is used for the inherent impls map
is *generally* an anti-pattern (that is, holding the borrow lock for the
duration of using the contents), so it'd probably be better to
clone (and I doubt that would be expensive -- how many inherent impls
does a typical type have?).
2016-09-06 11:17:03 -04:00
..
callee_caller_cross_crate use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
inlined_hir_34991 remap Hir(InlinedDefId) to MetaData(OriginalDefId) 2016-08-02 05:31:25 -04:00
krate_reassign_34991 watch out for krate numbers being reassigned 2016-08-02 05:31:25 -04:00
rlib_cross_crate use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
struct_change_field_type_cross_crate use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
type_alias_cross_crate use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
commandline-args.rs Fix incremental/commandline-args test. 2016-08-11 10:59:05 -04:00
crate_hash_reorder.rs fix stray comment 2016-08-23 13:29:28 -04:00
dirty_clean.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
foreign.rs hash foreign items too 2016-08-01 19:57:32 -04:00
hello_world.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
ich_method_call_trait_scope.rs incorporate resolve results into hashing 2016-08-09 20:28:46 -04:00
ich_nested_items.rs stop hashing nested items, and add a test 2016-08-09 20:28:45 -04:00
ich_resolve_results.rs incorporate resolve results into hashing 2016-08-09 20:28:46 -04:00
issue-35593.rs add regression test for #35593 2016-08-23 07:40:53 -04:00
krate-inherent.rs write to inherent_impls during the visitor 2016-09-06 11:17:03 -04:00
spike-neg1.rs Address mw nits 2016-07-28 12:05:45 -04:00
spike-neg2.rs Address mw nits 2016-07-28 12:05:45 -04:00
spike.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
string_constant.rs compute and cache HIR hashes at beginning 2016-08-20 07:26:14 -04:00
struct_add_field.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
struct_change_field_name.rs Fix rebase, fix some tests 2016-09-03 13:39:35 +03:00
struct_change_field_type.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
struct_change_nothing.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00
struct_remove_field.rs use preds to serialize just what we need 2016-08-09 08:26:06 -04:00