Skip to content
New issue

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

Somehow specify rules for #![doc(test(attr( ... )))] ? #7

Open
Fishrock123 opened this issue Jul 29, 2022 · 0 comments
Open

Somehow specify rules for #![doc(test(attr( ... )))] ? #7

Fishrock123 opened this issue Jul 29, 2022 · 0 comments

Comments

@Fishrock123
Copy link

I don't know if it is possible but all my projects maintain slightly adjusted lint rules for doc-tests, specifically:

#![doc(test(attr(deny(future_incompatible, rust_2018_idioms, warnings))))]
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]

Ideally this tool would be able to provide that as well but I feel like that is probably not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant