Workaround rustfmt bug replacing type ascription
This commit is contained in:
@@ -1711,6 +1711,7 @@ pub(crate) mod builtin {
|
|||||||
issue = "23416",
|
issue = "23416",
|
||||||
reason = "placeholder syntax for type ascription"
|
reason = "placeholder syntax for type ascription"
|
||||||
)]
|
)]
|
||||||
|
#[rustfmt::skip]
|
||||||
pub macro type_ascribe($expr:expr, $ty:ty) {
|
pub macro type_ascribe($expr:expr, $ty:ty) {
|
||||||
builtin # type_ascribe($expr, $ty)
|
builtin # type_ascribe($expr, $ty)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user