diff options
| author | Bryanskiy <ivakin.kir@gmail.com> | 2025-03-12 15:59:21 +0300 |
|---|---|---|
| committer | Bryanskiy <ivakin.kir@gmail.com> | 2025-03-12 15:59:37 +0300 |
| commit | 7bfe2136e4ffa5b5f6c85f0544a5d7ef8ab2b705 (patch) | |
| tree | 940ebd909e64ad401150b8cb77e05abf2c44180d /compiler/rustc_ast_lowering/src | |
| parent | 57a4736e9f4b7e8089b2db60583607f3b550c862 (diff) | |
Delegation: one more ICE fix for `MethodCall` generation
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/delegation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/delegation.rs b/compiler/rustc_ast_lowering/src/delegation.rs index 571172be4ed..946f2cafa15 100644 --- a/compiler/rustc_ast_lowering/src/delegation.rs +++ b/compiler/rustc_ast_lowering/src/delegation.rs @@ -330,6 +330,7 @@ impl<'hir> LoweringContext<'_, 'hir> { .unwrap_or_default() && delegation.qself.is_none() && !has_generic_args + && !args.is_empty() { let ast_segment = delegation.path.segments.last().unwrap(); let segment = self.lower_path_segment( |
