Skip to content

Commit 44988e2

Browse files
Workaround rustfmt bug replacing type ascription
1 parent a64f941 commit 44988e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/macros/mod.rs

+1
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)