diff options
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 e7c9dabc2..63bcb0640 100644 --- a/crates/hir_ty/src/display.rs +++ b/crates/hir_ty/src/display.rs | |||
@@ -997,7 +997,7 @@ impl HirDisplay for TypeRef { | |||
997 | write!(f, "dyn ")?; | 997 | write!(f, "dyn ")?; |
998 | f.write_joined(bounds, " + ")?; | 998 | f.write_joined(bounds, " + ")?; |
999 | } | 999 | } |
1000 | TypeRef::Error => write!(f, "{{error}}")?, | 1000 | TypeRef::Error | TypeRef::Macro(_) => write!(f, "{{error}}")?, |
1001 | } | 1001 | } |
1002 | Ok(()) | 1002 | Ok(()) |
1003 | } | 1003 | } |