mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Workaround rustfmt bug replacing type ascription
This commit is contained in:
parent
a64f941611
commit
44988e2577
@ -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…
Reference in New Issue
Block a user