diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-05-01 23:23:00 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-05-01 23:23:00 -0400 |
| commit | 44988e25770e87949e282f606dee702906bd2eed (patch) | |
| tree | 48f8cfe9a0077e933804d2dcdd3e13a32fe35b73 | |
| parent | a64f94161130944f8fda1f6dcc00f37860f43ecf (diff) | |
Workaround rustfmt bug replacing type ascription
| -rw-r--r-- | library/core/src/macros/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 40a91689014..2ddedfa37fe 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) } |
