rust/crates/ide/src/syntax_highlighting
bors[bot] dcbb77cb6c
Merge #7206 #7231
7206: Use hir::GenericParam in ide_db::Definition instead of relisting all 3 r=Veykril a=Veykril

Basically just this:
```diff
 pub enum Definition {
     Macro(MacroDef),
     Field(Field),
     ModuleDef(ModuleDef),
     SelfType(Impl),
     Local(Local),
-    TypeParam(TypeParam),
-    LifetimeParam(LifetimeParam),
-    ConstParam(ConstParam),
+    GenericParam(GenericParam),
     Label(Label),
 }
```

7231: Cleaner API r=matklad a=matklad

bors r+
🤖

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-01-10 11:45:59 +00:00
..
test_data Better highlight for fixtures 2021-01-09 16:07:41 +03:00
format.rs Replace state with function 2021-01-10 11:57:17 +03:00
highlight.rs Use hir::GenericParam in ide_db::Definition instead of relisting all 3 2021-01-10 12:33:47 +01:00
highlights.rs Cleaner API 2021-01-10 14:36:15 +03:00
html.rs Better names 2021-01-09 15:38:32 +03:00
inject.rs Refactor highlighting 2021-01-09 23:07:32 +03:00
injector.rs Cleaner API 2021-01-10 14:36:15 +03:00
macro_rules.rs Shorten names 2021-01-09 14:48:15 +03:00
tags.rs Shorten frequent names 2021-01-09 14:44:01 +03:00
tests.rs Simplify highlighting infra 2021-01-08 23:47:35 +03:00