rust-analyzer/crates
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
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Better fixture highlight 2021-01-07 19:11:27 +03:00
base_db Better fixture highlight 2021-01-07 19:11:27 +03:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
completion Avoid string copy in complete_attribute 2021-01-10 12:19:00 +02:00
flycheck Refactor out JodChild 2021-01-08 01:08:34 +08:00
hir Use hir::GenericParam in ide_db::Definition instead of relisting all 3 2021-01-10 12:33:47 +01:00
hir_def Merge #7145 2021-01-08 03:57:11 +00:00
hir_expand Merge #7145 2021-01-08 03:57:11 +00:00
hir_ty Merge #7145 2021-01-08 03:57:11 +00:00
ide Merge #7206 #7231 2021-01-10 11:45:59 +00:00
ide_db Use hir::GenericParam in ide_db::Definition instead of relisting all 3 2021-01-10 12:33:47 +01:00
mbe Add test 2021-01-08 14:00:23 +08:00
parser parser,syntax: Add separate parser for stmt with optional semicolon 2021-01-03 12:05:52 +01:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Remove serde_stacker which depends on cc 2021-01-01 15:26:55 +08:00
proc_macro_srv Replace last usages of difference with dissimilar 2021-01-06 18:13:29 +01:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Less confusing instr stat 2021-01-06 18:16:04 +03:00
project_model Report progress for cargo metadata and output-dir 2021-01-08 01:18:58 +08:00
rust-analyzer Shorten names 2021-01-09 14:48:15 +03:00
ssr Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
stdx Cleaner API 2021-01-10 14:36:15 +03:00
syntax Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
test_utils Better fixture highlight 2021-01-07 19:11:27 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Use file_set::FileSet and FileSet consistently in doc 2021-01-07 12:18:25 +01:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00