From 44988e25770e87949e282f606dee702906bd2eed Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 1 May 2024 23:23:00 -0400 Subject: [PATCH] Workaround rustfmt bug replacing type ascription --- library/core/src/macros/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 40a91689014b0..2ddedfa37fe27 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -1711,6 +1711,7 @@ pub(crate) mod builtin { issue = "23416", reason = "placeholder syntax for type ascription" )] + #[rustfmt::skip] pub macro type_ascribe($expr:expr, $ty:ty) { builtin # type_ascribe($expr, $ty) }