diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-05 20:10:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-05 20:10:51 +0100 |
| commit | bb50ebfca41c76c2f0a105dcfb25286013da7834 (patch) | |
| tree | fd98aaa603f8c7b56629cdadc26a36b830485d1a /library/core/src | |
| parent | b524be55db4e1363c4d77ac70cd44032e865f253 (diff) | |
| parent | e26ad8b67d31fa8c35bf1e5e3ed310c06418d18b (diff) | |
| download | rust-bb50ebfca41c76c2f0a105dcfb25286013da7834.tar.gz rust-bb50ebfca41c76c2f0a105dcfb25286013da7834.zip | |
Rollup merge of #132567 - estebank:bad-suggestion, r=Nadrieril
Properly suggest `E::assoc` when we encounter `E::Variant::assoc` Use the right span when encountering an enum variant followed by an associated item so we don't lose the associated item in the resulting code. Do not suggest the thing twice, once as a removal of the associated item and a second time as a typo suggestion.
Diffstat (limited to 'library/core/src')
0 files changed, 0 insertions, 0 deletions
