Workaround rustfmt bug replacing type ascription

This commit is contained in:
Mark Rousskov 2024-05-01 23:23:00 -04:00
parent a64f941611
commit 44988e2577

View File

@ -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)
}