summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-09 13:22:00 +0000
committerbors <bors@rust-lang.org>2023-02-09 13:22:00 +0000
commit5adeebf92fd5a639d2cb51c7374fc212e5de568f (patch)
tree4dbc8ac2d9f67e50dd88c60e719814f6065c0f01 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentfd2d8beaf8d22caedb84edd4402191e7861117af (diff)
parentc642cfe3bf245ffe34f6e994f0b359b267be5e3d (diff)
downloadrust-5adeebf92fd5a639d2cb51c7374fc212e5de568f.tar.gz
rust-5adeebf92fd5a639d2cb51c7374fc212e5de568f.zip
Auto merge of #10292 - xFrednet:0000-support-trait-item-in-dump, r=flip1995
Make `[clippy::dump]` support trait items

Roses are red,
violets are blue,
trait items are rare,
`[clippy::dump]` is too

---

Let's just ignore the horrible poem... anyways. While working on Marker I noticed, that `[clippy::dump]` doesn't work on trait item (See [Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e2d9791ffa2872e7c09a9dfbd470350c)). This simply adds support for that. `[clippy::dump]` doesn't have UI tests, to make it more resistant to changes in the AST. I tested it locally and the dump works after these changes.

---

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions