aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-14 14:23:27 +0100
committerAleksey Kladov <[email protected]>2020-08-14 14:23:27 +0100
commit125744c057a953b2f1b03042e9a6ec49f1eb0a1e (patch)
tree39cadc001951e59dca1ec17697a8507e438d4791 /crates/ide/src
parent1ec23e7d33e29c6e14f4fe504e1e253e91339ea4 (diff)
Rename hypothetical -> speculative
Diffstat (limited to 'crates/ide/src')
-rw-r--r--crates/ide/src/completion/completion_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/completion/completion_context.rs b/crates/ide/src/completion/completion_context.rs
index 3857dce67..85456a66f 100644
--- a/crates/ide/src/completion/completion_context.rs
+++ b/crates/ide/src/completion/completion_context.rs
@@ -185,7 +185,7 @@ impl<'a> CompletionContext<'a> {
185 }; 185 };
186 if let (Some(actual_expansion), Some(hypothetical_expansion)) = ( 186 if let (Some(actual_expansion), Some(hypothetical_expansion)) = (
187 ctx.sema.expand(&actual_macro_call), 187 ctx.sema.expand(&actual_macro_call),
188 ctx.sema.expand_hypothetical( 188 ctx.sema.speculative_expand(
189 &actual_macro_call, 189 &actual_macro_call,
190 &hypothetical_args, 190 &hypothetical_args,
191 fake_ident_token, 191 fake_ident_token,