-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Also emit missing_docs lint with --test to fulfil expectations
#130025
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
Conversation
This comment has been minimized.
This comment has been minimized.
|
r? compiler |
|
@bors r+ |
|
I'm wondering if this could have the potential to break cargo tests #130109 (comment) |
|
Seems so, actually looking at the test? |
|
@bors r- |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
|
Hi, thanks for the contribution. May I ask if this PR would be cherry-picked to a patch release like 1.81.1? |
|
Due to our fast release cycle, we don't backport to stable simple bug-fixes, only security fixes or major regressions fixes.
|
|
great new lint, |
This PR removes the "test harness" suppression of the
missing_docslint to be able to fulfil#[expect](expectations) as it is now "relevant".I think the goal was to maybe avoid false-positive while linting on public items under
#[cfg(test)]but with effective visibility we should no longer have any false-positive.Another possibility would be to query the lint level and only emit the lint if it's of expect level, but that is even more hacky.
Fixes #130021
try-job: x86_64-gnu-aux