Skip to content

Commit

Permalink
Workaround rustfmt bug replacing type ascription
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed May 2, 2024
1 parent a64f941 commit 44988e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 44988e2

Please sign in to comment.