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