salsa/tests
Markus Westerlind 0e01067d55 feat: Allow queries to avoid panics on cycles
Quickest POC I could create to get some potentially cyclic queries to
not panic and instead return a result I could act on. (gluon's module
importing need to error on cycles).

```
// Causes `db.query()` to actually return `Result<V, CycleError>`
fn query(&self, key: K, key2: K2) -> V;
```

A proper implementation of this would likely return
`Result<V, CycleError<(K, K2)>>` or maybe larger changes are needed.

cc #6
2019-08-16 20:37:54 +02:00
..
gc make interned keys have durability high 2019-07-02 08:22:25 -04:00
incremental s/next_revision/synthetic_write/ 2019-07-02 07:49:01 -04:00
parallel feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
storage_varieties s/next_revision/synthetic_write/ 2019-07-02 07:49:01 -04:00
cycles.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
dyn_trait.rs make dyn Trait query implementations work 2019-01-25 18:36:23 -05:00
interned.rs s/RawId/InternId/ 2019-04-03 11:01:20 -03:00
lru.rs Replace volatile query type with report_untracked_read fn 2019-06-26 13:10:44 +03:00
macros.rs change #[salsa::query_group] attribute to take a struct name 2019-01-25 10:26:39 -05:00
no_send_sync.rs squash some warnings 2019-04-03 11:01:38 -03:00
panic_safely.rs implement strong panic safety 2019-06-01 23:19:15 +03:00
requires.rs fix test doc comment 2019-05-30 12:32:24 +03:00
transparent.rs Add transparent query type 2019-04-30 23:42:17 +03:00
variadic.rs convert tests to use generated set methods 2019-01-28 00:50:09 -05:00