-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
#![allow(clippy::too_long_first_doc_paragraph)] in lib.rs is ignored #13758
Comments
Edit: see comment below for actual toolchain causing the issue after nightly-2024-10-03 looks like the culprit could be edit: unclear as something else pops up, last good known toolchain was: nightly-2024-10-03-x86_64-unknown-linux-gnu
|
Actual toolchain exhibiting the issue nightly-2024-10-19:
|
I think I found the problem. there was a PR around the time you started experiencing issues that moved this lint to the nursery category: #13551 Your project does explicitly allow the lint but immediately afterwards warns all nursery lints: https://github.com/zama-ai/tfhe-rs/blob/45717275f6918547ca6b0701dbb64b7526d47519/tfhe/src/lib.rs#L54 I'd imagine if you move the allow after that line it will work but it may be a little more complicated than that. Either way hope this helps |
Ah I see we should warn then allow, last configuration being the one applied potentially |
Re ordering seems to do the trick, it is logical when you think about it, but then maybe a warning/lint to warn first allow after or something about order of settings could be welcome. I'll close this Thanks |
Description
Some of our doc comments have long first paragraphs, which we explicitely opt-in to allow but we still get the clippy warnings
project where this is happening:
https://github.com/zama-ai/tfhe-rs/
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: