diff options
author | Aleksey Kladov <[email protected]> | 2020-01-14 10:13:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-01-14 10:29:43 +0000 |
commit | 0358f5fdebb7f462e72aaf77eea8c842709127fc (patch) | |
tree | 17b58eacb9a6fbad911e4e62815d066a139782b7 /crates/ra_ide | |
parent | aedff7cdcfb2340a3a23b540b50cadc94a367428 (diff) |
Use lang-items to resolve future trait
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/completion/complete_dot.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/completion/complete_dot.rs b/crates/ra_ide/src/completion/complete_dot.rs index 210a685e4..fe02e36b3 100644 --- a/crates/ra_ide/src/completion/complete_dot.rs +++ b/crates/ra_ide/src/completion/complete_dot.rs | |||
@@ -525,6 +525,7 @@ mod tests { | |||
525 | 525 | ||
526 | //- /std/lib.rs | 526 | //- /std/lib.rs |
527 | pub mod future { | 527 | pub mod future { |
528 | #[lang = "future_trait"] | ||
528 | pub trait Future {} | 529 | pub trait Future {} |
529 | } | 530 | } |
530 | "###, CompletionKind::Keyword), | 531 | "###, CompletionKind::Keyword), |