We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you format...
#[allow()] unsafe extern "C" { #[allow()] pub fn foo(#[allow()] arg: *mut u8, #[allow()]...); }
Then it will format into
#[allow()] unsafe extern "C" { #[allow()] pub fn foo(#[allow()] arg: *mut u8, ...); }
(The choice of attribute seems irrelevant, I've used allow because it compiles in any position).
allow
Note that this position is explicitly documented at https://doc.rust-lang.org/nightly/reference/attributes.html#r-attributes.allowed-position
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you format...
Then it will format into
(The choice of attribute seems irrelevant, I've used
allow
because it compiles in any position).Note that this position is explicitly documented at https://doc.rust-lang.org/nightly/reference/attributes.html#r-attributes.allowed-position
The text was updated successfully, but these errors were encountered: