rust-analyzer/crates
bors[bot] 5138baf2ac
Merge #8021 #8022
8021: Enable searching for builtin types r=matklad a=Veykril

Not too sure how useful this is for reference search overall, but for completeness sake it should be there 
![image](https://user-images.githubusercontent.com/3757771/111132711-f69db600-8579-11eb-8c90-22fd6862d11f.png)

Also enables document highlighting for them.


8022: some clippy::performance fixes r=matklad a=matthiaskrgr

use vec![] instead of Vec::new() + push()
avoid redundant clones
use chars instead of &str for single char patterns in ends_with() and starts_with()
allocate some Vecs with capacity to avoid unnecessary resizing

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
2021-03-15 10:05:49 +00:00
..
base_db Fixed remaining references to AnalysisChange (now: Change) 2021-02-28 12:57:41 +01:00
cfg Add runnables::related_tests 2021-02-27 18:00:17 +03:00
flycheck Bump cargo_metadata 2021-03-02 14:27:29 +02:00
hir some clippy::performance fixes 2021-03-15 10:19:59 +01:00
hir_def Create TraitEnvironment through a query 2021-03-13 20:38:45 +01:00
hir_expand some clippy::performance fixes 2021-03-15 10:19:59 +01:00
hir_ty More renaming 2021-03-14 16:33:27 +01:00
ide Merge #8021 #8022 2021-03-15 10:05:49 +00:00
ide_assists Allow applying De Morgan's law to multiple terms at once 2021-03-12 10:19:54 -05:00
ide_completion some clippy::performance fixes 2021-03-15 10:19:59 +01:00
ide_db Merge #8021 #8022 2021-03-15 10:05:49 +00:00
ide_ssr Merge #7961 2021-03-10 17:06:11 +00:00
mbe some clippy::performance fixes 2021-03-15 10:19:59 +01:00
parser Fix remaining references to cargo xtask codegen 2021-03-12 15:10:33 +01:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api some clippy::performance fixes 2021-03-15 10:19:59 +01:00
proc_macro_srv Compilation speed 2021-03-09 22:30:58 +03:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model some clippy::performance fixes 2021-03-15 10:19:59 +01:00
rust-analyzer Merge #8021 #8022 2021-03-15 10:05:49 +00:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax Attach trivia to ast::Union nodes 2021-03-14 11:11:01 +01:00
test_utils Use upstream cov-mark 2021-03-08 22:19:44 +02: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 add expand log 2021-03-13 20:14:21 +08:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00