We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$ cat src/lib.rs extern "C" { fn xsave64(p: *mut u8, hi: u32, lo: u32) -> /* comment */ (); } $ cargo +nightly clippy --fix -Z unstable-options $ git diff diff --git a/src/lib.rs b/src/lib.rs index e07dbbc..0110132 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ extern "C" { fn xsave64(p: *mut u8, hi: u32, lo: u32) - -> /*comment here*/ (); + ; }
@flip1995 suggested that I file a bug against rustfix, not clippy, since the information about comments has been lost by the time clippy sees it.
@flip1995 suggested that I file a bug against rustfix, not clippy, since the information about comments has been lost by the time clippy sees it.