rust/crates/completion/src
bors[bot] f4929fa9cc
Merge #6901
6901: Temp fixes panic caused by no ast for proc-macro r=maklad a=edwin0cheng

There are some panic when hover/goto definition for proc-macro. It is because in current design, we don't have `ast-node` for proc-macro and then it trigger [this](479d1f7eec/crates/hir/src/has_source.rs (L116)) line to panic.

This PR is a temp fix for all of these similar to bd4c352831/crates/completion/src/render/macro_.rs (L42)

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-12-18 02:30:51 +00:00
..
completions Show first fuzzy completions fully containing the input 2020-12-17 23:10:18 +02:00
render Temp fixes panic caused by no ast for proc-macro 2020-12-18 10:26:17 +08:00
completions.rs Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
config.rs Normalize spelling to American English 2020-12-10 17:51:56 +03:00
context.rs Complete struct in irrefutable let 2020-11-26 21:28:43 +01:00
generated_lint_completions.rs Reorganize completions structure 2020-10-25 10:59:15 +03:00
item.rs Minor, more orthogonal code 2020-12-10 18:01:02 +03:00
lib.rs Minor, more orthogonal code 2020-12-10 18:01:02 +03:00
patterns.rs Extract call_info and completion into separate crates 2020-10-18 13:09:00 +03:00
render.rs Disable the completion for no corresponding client resolve capabilities 2020-12-08 01:07:20 +02:00
test_utils.rs Minor, more orthogonal code 2020-12-10 18:01:02 +03:00