diff options
Diffstat (limited to 'crates/hir_def/src/item_tree/lower.rs')
-rw-r--r-- | crates/hir_def/src/item_tree/lower.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/item_tree/lower.rs b/crates/hir_def/src/item_tree/lower.rs index 1a0e54413..b4389371f 100644 --- a/crates/hir_def/src/item_tree/lower.rs +++ b/crates/hir_def/src/item_tree/lower.rs | |||
@@ -811,7 +811,7 @@ fn desugar_future_path(orig: TypeRef) -> Path { | |||
811 | let binding = | 811 | let binding = |
812 | AssociatedTypeBinding { name: name![Output], type_ref: Some(orig), bounds: Vec::new() }; | 812 | AssociatedTypeBinding { name: name![Output], type_ref: Some(orig), bounds: Vec::new() }; |
813 | last.bindings.push(binding); | 813 | last.bindings.push(binding); |
814 | generic_args.push(Some(Arc::new(last))); | 814 | generic_args.push(Some(Interned::new(last))); |
815 | 815 | ||
816 | Path::from_known_path(path, generic_args) | 816 | Path::from_known_path(path, generic_args) |
817 | } | 817 | } |