diff options
Diffstat (limited to 'crates/completion/src/render/type_alias.rs')
-rw-r--r-- | crates/completion/src/render/type_alias.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/completion/src/render/type_alias.rs b/crates/completion/src/render/type_alias.rs index 4099a5d0e..276090015 100644 --- a/crates/completion/src/render/type_alias.rs +++ b/crates/completion/src/render/type_alias.rs | |||
@@ -27,6 +27,7 @@ struct TypeAliasRender<'a> { | |||
27 | 27 | ||
28 | impl<'a> TypeAliasRender<'a> { | 28 | impl<'a> TypeAliasRender<'a> { |
29 | fn new(ctx: RenderContext<'a>, type_alias: hir::TypeAlias) -> TypeAliasRender<'a> { | 29 | fn new(ctx: RenderContext<'a>, type_alias: hir::TypeAlias) -> TypeAliasRender<'a> { |
30 | #[allow(deprecated)] | ||
30 | let ast_node = type_alias.source_old(ctx.db()).value; | 31 | let ast_node = type_alias.source_old(ctx.db()).value; |
31 | TypeAliasRender { ctx, type_alias, ast_node } | 32 | TypeAliasRender { ctx, type_alias, ast_node } |
32 | } | 33 | } |