Skip to content

Commit c87c4a0

Browse files
bors[bot]mcrakhmanmatklad
authored
Merge #4700
4700: Add top level keywords completion r=matklad a=mcrakhman This fixes the following issue: #4566. Also added simple logic which filters the keywords which can be used with unsafe on the top level. Co-authored-by: Mikhail Rakhmanov <rakhmanov.m@gmail.com> Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 1c841c8 + b99b495 commit c87c4a0

File tree

6 files changed

+618
-640
lines changed

6 files changed

+618
-640
lines changed

crates/ra_ide/src/completion.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ mod complete_unqualified_path;
1515
mod complete_postfix;
1616
mod complete_macro_in_item_position;
1717
mod complete_trait_impl;
18+
mod patterns;
1819
#[cfg(test)]
1920
mod test_utils;
2021

0 commit comments

Comments
 (0)