about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-11-03 18:55:19 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-11-03 18:55:19 +0000
commite26ad8b67d31fa8c35bf1e5e3ed310c06418d18b (patch)
tree3bfae5a137ab99d08680b61b93831f010d16422f /compiler/rustc_codegen_llvm/src/common.rs
parent06fc531c9631989ed681fc7252929da3ff84225e (diff)
downloadrust-e26ad8b67d31fa8c35bf1e5e3ed310c06418d18b.tar.gz
rust-e26ad8b67d31fa8c35bf1e5e3ed310c06418d18b.zip
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 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions