forked from rust-lang/rust-clippy
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate customizations from rust-1.68.0
to rust-1.74.0
#31
Merged
surechen
merged 53 commits into
open-rust-initiative:custom-lint-1.74.0
from
TogetherGame:custom_lints_1.74.0
Dec 1, 2023
Merged
Migrate customizations from rust-1.68.0
to rust-1.74.0
#31
surechen
merged 53 commits into
open-rust-initiative:custom-lint-1.74.0
from
TogetherGame:custom_lints_1.74.0
Dec 1, 2023
Conversation
This file contains 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
Signed-off-by: surechen <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
[`passing_string_to_c_functions`] [`untrusted_lib_loading`] [`falliable_memory_allocation`] Signed-off-by: J-ZhengLi <[email protected]>
finish implement lint [`mem_unsafe_functions`]; add simple description for unimplemented lints; Signed-off-by: J-ZhengLi <[email protected]>
that detects unsafe block in `quote!` Signed-off-by: J-ZhengLi <[email protected]>
that detects external block without explicit label "C" Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: mojave2 <[email protected]>
Signed-off-by: SparrowLii <[email protected]>
Signed-off-by: SparrowLii <[email protected]>
Signed-off-by: SparrowLii <[email protected]>
that detects function calls that blocks thread under async context. Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
fix name typo; add configuration; add tests; add more precised checks; limit check ranges to external functions, and `Vec::with_capacity` only; some other nit changes; Signed-off-by: J-ZhengLi <[email protected]>
add some additional test cases; Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
- add configurations to allow additional detected functions - only checks for functions `DefId` instead of its name ident - check for io function call with matching args rather than any io calls. - change error output - code refractoring Signed-off-by: J-ZhengLi <[email protected]>
- add more test cases - disallow `repr(simd)` for extern mod funtion items - improve error messages and include type usage span - code refractoring Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
adjust `guidelines` lints configuration so that all configured function list will override existing ones; move all configurable `guidelines` ui-toml tests into a single folder; Signed-off-by: J-ZhengLi <[email protected]>
one false negative problem left to fix Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
…ui test Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
and rewite using visitors for more in-depth detection Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
…_dereference`]; Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
Signed-off-by: J-ZhengLi <[email protected]>
J-ZhengLi
force-pushed
the
custom_lints_1.74.0
branch
6 times, most recently
from
December 1, 2023 09:49
f2f1b3c
to
f25fa70
Compare
Signed-off-by: J-ZhengLi <[email protected]>
LGTM |
surechen
merged commit Dec 1, 2023
d5b213b
into
open-rust-initiative:custom-lint-1.74.0
8 checks passed
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.
changelog: none