about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-30 18:44:01 +0000
committerbors <bors@rust-lang.org>2022-04-30 18:44:01 +0000
commit7c4b47696907d64eff5621a64eb3c6e795a9ec77 (patch)
tree6741f99bbc2c7b939e2488b2f4e8302a3b9badbd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent579d26876ddc5426be32cca1a026b6fd7fc5be24 (diff)
parenta7213832618f25690a65b5c270309df687d6b869 (diff)
downloadrust-7c4b47696907d64eff5621a64eb3c6e795a9ec77.tar.gz
rust-7c4b47696907d64eff5621a64eb3c6e795a9ec77.zip
Auto merge of #96347 - estebank:issue-96292, r=compiler-errors
Erase type params when suggesting fully qualified path

When suggesting the use of a fully qualified path for a method call that
is ambiguous because it has multiple candidates, erase type params in
the resulting code, as they would result in an error when applied. We
replace them with `_` in the output to rely on inference. There might be
cases where this still produces slighlty incomplete suggestions, but it
otherwise produces many more errors in relatively common cases.

Fix #96292
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions