Skip to content

Commit 7f6e81a

Browse files
Workaround rustfmt bug replacing type ascription
1 parent c7e0371 commit 7f6e81a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/macros/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,7 @@ pub(crate) mod builtin {
17111711
issue = "23416",
17121712
reason = "placeholder syntax for type ascription"
17131713
)]
1714+
#[rustfmt::skip]
17141715
pub macro type_ascribe($expr:expr, $ty:ty) {
17151716
builtin # type_ascribe($expr, $ty)
17161717
}

0 commit comments

Comments
 (0)