about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-27 02:47:11 +0200
committerGitHub <noreply@github.com>2022-04-27 02:47:11 +0200
commitdc1f98c6558730fa446e05856d28b09b0ca4ebc8 (patch)
tree39783a10f7248fff6c2705f34781735a425dd751 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent5645732b041ff1f3e7cee585d454613a9e7c43f0 (diff)
parente1b074a2a8b89741621d13cdf22ce893e2c3fb8b (diff)
downloadrust-dc1f98c6558730fa446e05856d28b09b0ca4ebc8.tar.gz
rust-dc1f98c6558730fa446e05856d28b09b0ca4ebc8.zip
Rollup merge of #96385 - marmeladema:nll-fix-trait-lifetime-bound-suggestions, r=jackh726
Recover most `impl Trait` and `dyn Trait` lifetime bound suggestions under NLL

This is done by replacing the duplicated (and very partial) implementation from borrowck with one inspsired from `NiceRegionError::try_report_static_impl_trait` and by re-using `suggest_new_region_bound`.

Fixes #96277

r? ```@jackh726```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions