aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/item_tree/pretty.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-29 18:39:15 +0100
committerGitHub <[email protected]>2021-05-29 18:39:15 +0100
commitf6da603c7fe56c19a275dc7bab1f30fe1ad39707 (patch)
tree222351c552f11aed7e8f18a5447fc9c15afa42e0 /crates/hir_def/src/item_tree/pretty.rs
parent0438e2ceaa89959fe3a1b21e5311a17b08b6fc6d (diff)
parent54d60fdee9a49e2081837cc6445c61dec0b303af (diff)
Merge #9050
9050: hir_ty: use async ret type for inference inside async bodies r=flodiebold a=cynecx Fixes #9004. Co-authored-by: cynecx <[email protected]>
Diffstat (limited to 'crates/hir_def/src/item_tree/pretty.rs')
-rw-r--r--crates/hir_def/src/item_tree/pretty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_def/src/item_tree/pretty.rs b/crates/hir_def/src/item_tree/pretty.rs
index d1ee697cb..cc9944a22 100644
--- a/crates/hir_def/src/item_tree/pretty.rs
+++ b/crates/hir_def/src/item_tree/pretty.rs
@@ -235,6 +235,7 @@ impl<'a> Printer<'a> {
235 abi, 235 abi,
236 params, 236 params,
237 ret_type, 237 ret_type,
238 async_ret_type: _,
238 ast_id: _, 239 ast_id: _,
239 flags, 240 flags,
240 } = &self.tree[it]; 241 } = &self.tree[it];