about summary refs log tree commit diff
path: root/library/core/src/char/methods.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-05 20:10:51 +0100
committerGitHub <noreply@github.com>2024-11-05 20:10:51 +0100
commitbb50ebfca41c76c2f0a105dcfb25286013da7834 (patch)
treefd98aaa603f8c7b56629cdadc26a36b830485d1a /library/core/src/char/methods.rs
parentb524be55db4e1363c4d77ac70cd44032e865f253 (diff)
parente26ad8b67d31fa8c35bf1e5e3ed310c06418d18b (diff)
downloadrust-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/char/methods.rs')
0 files changed, 0 insertions, 0 deletions