diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-14 14:23:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-14 14:23:58 +0100 |
commit | 3b5947e1cd2bcdbea6512c659c4e8590b5305ef3 (patch) | |
tree | 39cadc001951e59dca1ec17697a8507e438d4791 /crates/ide/src/completion/completion_context.rs | |
parent | 1ec23e7d33e29c6e14f4fe504e1e253e91339ea4 (diff) | |
parent | 125744c057a953b2f1b03042e9a6ec49f1eb0a1e (diff) |
Merge #5759
5759: Rename hypothetical -> speculative
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/completion/completion_context.rs')
-rw-r--r-- | crates/ide/src/completion/completion_context.rs | 2 |
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, |