You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reordering of the signature pub unsafe async fn test(&mut self) in an impl block breaks compilation, given it makes it pub async unsafe fn test(&mut self). I have no clue if this applies to any and all functions with unsafe async fn, but it breaks with this simple case:
The reordering of the signature
pub unsafe async fn test(&mut self)
in an impl block breaks compilation, given it makes itpub async unsafe fn test(&mut self)
. I have no clue if this applies to any and all functions withunsafe async fn
, but it breaks with this simple case:If you now use the newest
rustfmt
(i.e. from latest nightly), it breaks compilation:A simple case for making this work is just creating a file called
a.rs
, copy+paste that, runrustfmt a.rs
, thenrustc a.rs
to get the error.The text was updated successfully, but these errors were encountered: