about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-28 10:59:16 +0000
committerbors <bors@rust-lang.org>2022-08-28 10:59:16 +0000
commit4e31c8cab41c09984085d82b61c4b2e3ad38a164 (patch)
tree9392db9b0309a74c5003fc0b7c3395eae5238dd7 /src/test/debuginfo/enum-thinlto.rs
parent8d9da4d7c74ca5ba8af1b5aae41b884fadc1cafa (diff)
parentc542f1fe3fcc48e1f8a299a7cbd07e2335b1f5f3 (diff)
downloadrust-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