From 0358f5fdebb7f462e72aaf77eea8c842709127fc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 14 Jan 2020 11:13:07 +0100 Subject: Use lang-items to resolve future trait --- crates/ra_ide/src/completion/complete_dot.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_ide/src') 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 { //- /std/lib.rs pub mod future { + #[lang = "future_trait"] pub trait Future {} } "###, CompletionKind::Keyword), -- cgit v1.2.3