diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-07-08 08:00:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 08:00:41 +0200 |
| commit | 445702d0cb4c47b1c95c0756c0d189ff539ca7bb (patch) | |
| tree | 202b412781a793d655e75b9c24d215aa2034fe39 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | e58c2d4f52b6dfcd7095c4f12a7ef8879d282189 (diff) | |
| parent | 98b84195a217f53659d8f88ff9427ac7e463ccfb (diff) | |
| download | rust-445702d0cb4c47b1c95c0756c0d189ff539ca7bb.tar.gz rust-445702d0cb4c47b1c95c0756c0d189ff539ca7bb.zip | |
Rollup merge of #99026 - anall:buffix/clippy-9131, r=xFrednet
Add test for and fix rust-lang/rust-clippy#9131
This lint seems to have been broken by #98446 -- but of course, there was no clippy test for this case at the time.
`expr.span.ctxt().outer_expn_data()` now has `MacroKind::Derive` instead of `MacroKind::Attr` for something like:
```
#[derive(Clone, Debug)]
pub struct UnderscoreInStruct {
_foo: u32,
}
```
---
changelog: none
closes: https://github.com/rust-lang/rust-clippy/issues/9131
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
