Skip to content

Commit ba1cd77

Browse files
committed
Auto merge of rust-lang#12804 - B14CK313:master, r=y21
fulfill expectations in `check_unsafe_derive_deserialize` The utility function `clippy_utils::fulfill_or_allowed` is not used because using it would require to move the check for allowed after the check iterating over all inherent impls of the type, doing possibly unnecessary work. Instead, `is_lint_allowed` is called as before, but additionally, once certain that the lint should be emitted, `span_lint_hir_and_then` is called instead of `span_lint_and_help` to also fulfill expectations. Note: as this is my first contribution, please feel free to nitpick or request changes. I am happy to adjust the implementation. fixes: rust-lang#12802 changelog: fulfill expectations in [`unsafe_derive_deserialize`]
2 parents 2efebd2 + 4047db9 commit ba1cd77

File tree

3,600 files changed

+0
-354357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,600 files changed

+0
-354357
lines changed

.cargo/config.toml

-18
This file was deleted.

.editorconfig

-22
This file was deleted.

.gitattributes

-3
This file was deleted.

.github/ISSUE_TEMPLATE/blank_issue.yml

-44
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

-57
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

-5
This file was deleted.

.github/ISSUE_TEMPLATE/false_negative.yml

-50
This file was deleted.

.github/ISSUE_TEMPLATE/false_positive.yml

-68
This file was deleted.

.github/ISSUE_TEMPLATE/ice.yml

-48
This file was deleted.

.github/ISSUE_TEMPLATE/new_lint.yml

-48
This file was deleted.

0 commit comments

Comments
 (0)