about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbtwotwo <10519967+btwotwo@users.noreply.github.com>2022-10-06 21:35:12 +0200
committerbtwotwo <10519967+btwotwo@users.noreply.github.com>2022-10-06 21:35:12 +0200
commit3732d159b2e7dec436f8bb91c53832e56b1f2720 (patch)
tree56c255b37af1671cc2a3cc706471c1e7b7da53f2
parente2d3c1506f10861f9c864e3611fa41387c11546b (diff)
downloadrust-3732d159b2e7dec436f8bb91c53832e56b1f2720.tar.gz
rust-3732d159b2e7dec436f8bb91c53832e56b1f2720.zip
Pass context to env vars completion
-rw-r--r--crates/ide-completion/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/lib.rs b/crates/ide-completion/src/lib.rs
index c5718ec40f5..9d0044e55f5 100644
--- a/crates/ide-completion/src/lib.rs
+++ b/crates/ide-completion/src/lib.rs
@@ -183,7 +183,7 @@ pub fn completions(
             CompletionAnalysis::String { original, expanded: Some(expanded) } => {
                 completions::extern_abi::complete_extern_abi(acc, ctx, expanded);
                 completions::format_string::format_string(acc, ctx, original, expanded);
-                completions::env_vars::complete_cargo_env_vars(acc, expanded);
+                completions::env_vars::complete_cargo_env_vars(acc, ctx, expanded);
             }
             CompletionAnalysis::UnexpandedAttrTT {
                 colon_prefix,