rust/crates
David Lattimore 1fce8b6ba3 SSR: Change the way rules are stored internally.
Previously we had:

- Multiple rules
  - Each rule had its pattern parsed as an expression, path etc

This meant that there were two levels at which there could be multiple
rules.

Now we just have multiple rules. If a pattern can parse as more than one
kind of thing, then they get stored as multiple separate rules.

We also now don't have separate fields for the different kinds of things
that a pattern can parse as. This makes adding new kinds of things
simpler.

Previously, add_search_pattern would construct a rule with a dummy
replacement. Now the replacement is an Option. This is slightly cleaner
and also opens the way for parsing the replacement template as the same
kind of thing as the search pattern.
2020-07-24 21:34:00 +10:00
..
expect Add a license field to all the crates 2020-07-14 10:57:26 +09:00
flycheck Typo 2020-07-21 10:50:24 +02:00
paths Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_arena Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_assists assists: change_return_type_to_result: clarify assist description 2020-07-22 22:44:31 +02:00
ra_cfg Cleanup CFG API 2020-07-23 16:53:12 +02:00
ra_db More Rustic API for Env 2020-07-21 17:17:21 +02:00
ra_fmt Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_hir Add profiling call 2020-07-24 13:13:36 +02:00
ra_hir_def Cleanup CFG API 2020-07-23 16:53:12 +02:00
ra_hir_expand Reduce visibility 2020-07-23 15:07:01 +02:00
ra_hir_ty Support Trait as _ imports 2020-07-21 17:55:17 +02:00
ra_ide Merge #5505 2020-07-23 14:55:22 +00:00
ra_ide_db Merge #5503 2020-07-23 11:01:29 +00:00
ra_mbe Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_parser Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_proc_macro Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_proc_macro_srv Merge #4676 2020-07-16 14:29:57 +00:00
ra_prof Setup global allocator in the correct crate 2020-07-22 13:42:53 +02:00
ra_project_model Require quotes around key-value cfg flags in rust-project.json 2020-07-23 19:03:17 +02:00
ra_ssr SSR: Change the way rules are stored internally. 2020-07-24 21:34:00 +10:00
ra_syntax Rename modules 2020-07-23 17:23:01 +02:00
ra_text_edit Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_toolchain Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_tt Add a license field to all the crates 2020-07-14 10:57:26 +09:00
rust-analyzer Merge #5511 2020-07-23 21:49:51 +00:00
stdx Replace superslice with API on path to stabilization 2020-07-23 12:59:18 +02:00
test_utils Allow multiline annotations 2020-07-14 14:58:10 +02:00
vfs Expose package roots more directly 2020-07-21 12:52:51 +02:00
vfs-notify Simplify exclusion logic 2020-07-18 16:40:10 +02:00