about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-03 06:16:14 +0000
committerbors <bors@rust-lang.org>2023-07-03 06:16:14 +0000
commitc46ddeb9e146a21b2ad12d63543d111629099393 (patch)
tree007feef15f17641b7c6fe03d8a4bf6668ae2c418 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent4752466c8e8fb960b13fd2297e3a3cc5b13aa0c7 (diff)
parent1b6738ba39bf5ecd4d32f95a53966662baabc1e0 (diff)
downloadrust-c46ddeb9e146a21b2ad12d63543d111629099393.tar.gz
rust-c46ddeb9e146a21b2ad12d63543d111629099393.zip
Auto merge of #10987 - y21:type_id_on_box, r=llogiq
new lint: `type_id_on_box`

Closes #7687.

A new lint that detects calling `.type_id()` on `Box<dyn Any>` (and not on the underlying `dyn Any`), which can make up for some pretty confusing bugs!

changelog: new lint: [`type_id_on_box`]
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions