diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-09-02 17:08:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-02 17:08:52 +0200 |
| commit | 2a6b3b61f0226435bfee3b99172c1837a9067031 (patch) | |
| tree | 5142927aff79323fbab1e741213770029f97fe3b /compiler/rustc_mir_transform/src/coverage/tests.rs | |
| parent | 951e64f3de2f5b2c1859a7c2ef73c837c6f43880 (diff) | |
| parent | 01fefaad0294493380c25a304e38003ca50d0b05 (diff) | |
| download | rust-2a6b3b61f0226435bfee3b99172c1837a9067031.tar.gz rust-2a6b3b61f0226435bfee3b99172c1837a9067031.zip | |
Rollup merge of #145783 - Erk-:et-cetera-span, r=compiler-errors
add span to struct pattern rest (..) Struct pattern rest (`..`) did not retain span information compared to normal fields. This patch adds span information for it. The motivation of this patch comes from when I implemented this PR for Clippy: https://github.com/rust-lang/rust-clippy/pull/15000#discussion_r2134145163 It is possible to get the span of the Et cetera in a bit roundabout way, but I thought this would be nicer.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions
