diff options
| author | bors <bors@rust-lang.org> | 2022-08-28 10:59:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-28 10:59:16 +0000 |
| commit | 4e31c8cab41c09984085d82b61c4b2e3ad38a164 (patch) | |
| tree | 9392db9b0309a74c5003fc0b7c3395eae5238dd7 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 8d9da4d7c74ca5ba8af1b5aae41b884fadc1cafa (diff) | |
| parent | c542f1fe3fcc48e1f8a299a7cbd07e2335b1f5f3 (diff) | |
| download | rust-4e31c8cab41c09984085d82b61c4b2e3ad38a164.tar.gz rust-4e31c8cab41c09984085d82b61c4b2e3ad38a164.zip | |
Auto merge of #9389 - lukaslueg:penmacro, r=llogiq
Don't lint literal `None` from expansion This addresses https://github.com/rust-lang/rust-clippy/pull/9288#issuecomment-1229398524: If the literal `None` is from expansion, we never lint. This is correct because e.g. replacing the call to `option_env!` with whatever that macro expanded to at the time of linting is certainly wrong. changelog: Don't lint [`partialeq_to_none`] for macro-expansions
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
