Also emit missing_docs lint with --test to fulfil expectations - #130025
Merged
Conversation
Collaborator
This comment has been minimized.
This comment has been minimized.
Contributor
|
r? compiler |
Contributor
|
@bors r+ |
commented
Sep 7, 2024
Collaborator
commented
Sep 8, 2024
Member
|
I'm wondering if this could have the potential to break cargo tests #130109 (comment) |
commented
Sep 9, 2024
Member
|
Seems so, actually looking at the test? |
commented
Sep 9, 2024
Member
|
@bors r- |
commented
Sep 9, 2024
Member
|
@bors try |
commented
Sep 9, 2024
Collaborator
This comment has been minimized.
This comment has been minimized.
commented
Sep 20, 2024
|
Hi, thanks for the contribution. May I ask if this PR would be cherry-picked to a patch release like 1.81.1? |
commented
Sep 20, 2024
Member
Author
|
Due to our fast release cycle, we don't backport to stable simple bug-fixes, only security fixes or major regressions fixes.
|
commented
Sep 20, 2024
Member
|
great new lint, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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