diff options
author | Lukas Wirth <[email protected]> | 2021-04-05 21:08:16 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-04-06 09:45:30 +0100 |
commit | 96756f1b1df4729fd00ca96a59971b3997c91934 (patch) | |
tree | 1daa47d67081772ed1a61b0db13ff041337ddf8b /crates/hir_ty/src/display.rs | |
parent | 4bc8a018302d53951ae855ba57d07095a16ef182 (diff) |
Add Lifetime to TyKind::Ref
Diffstat (limited to 'crates/hir_ty/src/display.rs')
-rw-r--r-- | crates/hir_ty/src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/display.rs b/crates/hir_ty/src/display.rs index 4ef8024d0..22416c0cf 100644 --- a/crates/hir_ty/src/display.rs +++ b/crates/hir_ty/src/display.rs | |||
@@ -314,7 +314,7 @@ impl HirDisplay for Ty { | |||
314 | t.hir_fmt(f)?; | 314 | t.hir_fmt(f)?; |
315 | write!(f, "; _]")?; | 315 | write!(f, "; _]")?; |
316 | } | 316 | } |
317 | TyKind::Raw(m, t) | TyKind::Ref(m, t) => { | 317 | TyKind::Raw(m, t) | TyKind::Ref(m, _, t) => { |
318 | let ty_display = | 318 | let ty_display = |
319 | t.into_displayable(f.db, f.max_size, f.omit_verbose_types, f.display_target); | 319 | t.into_displayable(f.db, f.max_size, f.omit_verbose_types, f.display_target); |
320 | 320 | ||