Workaround rustfmt bug replacing type ascription
This commit is contained in:
parent
a64f941611
commit
44988e2577
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue