diff options
author | cynecx <[email protected]> | 2021-04-10 16:49:12 +0100 |
---|---|---|
committer | cynecx <[email protected]> | 2021-04-17 15:24:56 +0100 |
commit | cf3b4f1e208247c9d171273dabff9c6b3c98a240 (patch) | |
tree | 0cae2703b98ba8640ce6693abe32fb51fe27fdda /crates/hir_ty/src/display.rs | |
parent | fb2d284f28f70426e39e1b92d95bdbb217a48109 (diff) |
hir_ty: Expand macros at type position
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 | } |