rust-analyzer/crates
bors[bot] cbc13ae6bd
Merge #10152
10152: feat: Add completion for raw identifiers r=matklad a=nabakin

![rust_analyzer_pr](https://user-images.githubusercontent.com/894305/132110362-c21b713d-acaf-4a6d-9749-ff812172cbce.gif)
Adds support for valid Rust completion of raw identifiers.

Previously, code completion of fields made via raw identifiers would not re-insert those raw identifiers, resulting in invalid Rust code. Now, code completion of fields made via raw identifiers do re-insert those raw identifiers, resulting in valid Rust code.

The same is true for all code completion instances for fields and compatible Rust identifiers.

Co-authored-by: Blake Wyatt <894305+nabakin@users.noreply.github.com>
2021-09-06 10:54:18 +00:00
..
base_db minor: fix some clippy lints 2021-09-03 16:00:50 +02:00
cfg Simplify int_in_range 2021-08-31 13:11:17 +02:00
flycheck minor: fix some clippy lints 2021-09-03 16:00:50 +02:00
hir Merge #10135 2021-09-03 14:28:27 +00:00
hir_def Recover from statement macro expansion errors 2021-09-06 00:16:12 +02:00
hir_expand internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
hir_ty Don't dump DefMaps to build the panic context 2021-09-05 20:42:22 +02:00
ide Use correct search scopes for macros 2021-09-02 17:30:55 +02:00
ide_assists minor: update test 2021-09-04 15:19:44 +05:00
ide_completion Merge #10152 2021-09-06 10:54:18 +00:00
ide_db Minor: replace old name CrateDefMap 2021-09-05 19:22:34 +09:00
ide_diagnostics Merge #10089 2021-08-30 19:35:00 +00:00
ide_ssr fix: avoid pathological macro expansions 2021-08-09 16:15:02 +03:00
limit internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
mbe internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
parser internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
paths internal: improve compilation critical path a bit 2021-08-28 22:43:37 +03:00
proc_macro_api internal: cleanup proc macro server error handlig 2021-08-31 19:01:39 +03:00
proc_macro_srv internal: cleanup proc macro server error handlig 2021-08-31 19:01:39 +03:00
proc_macro_test cargo_metadata 0.14 2021-07-09 11:01:55 -04:00
profile Update dependency minor versions 2021-09-04 00:27:05 -07:00
project_model Merge #10005 2021-08-30 08:42:13 +00:00
rust-analyzer Merge #10147 2021-09-04 13:56:47 +00:00
sourcegen minor: make sure that project_root works correctly 2021-07-13 15:02:29 +03:00
stdx Update dependency minor versions 2021-09-04 00:27:05 -07:00
syntax fix: use placeholder as default type in Generate function. 2021-09-04 14:24:54 +05:00
test_utils Refactor & improve handling of overloaded binary operators 2021-08-22 17:35:50 +02:00
text_edit Handle all rename special cases for all record pattern fields 2021-08-16 22:48:38 +02:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt internal: reduce coupling 2021-08-31 19:14:33 +03:00
vfs internal: document that ascription is preferred to a turbo fish 2021-08-11 14:16:15 +03:00
vfs-notify switch log crate to tracing 2021-08-30 15:11:42 +08:00