about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-08-06 18:18:15 -0700
committerMichael Howell <michael@notriddle.com>2024-08-06 18:24:17 -0700
commit20c833c632d76ee78284441226f12b919318bc4b (patch)
tree50a707aee18f62580856f65cd7525ba743ddd787 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1b587a6e76200fdd8364ef910246efa11c973e7b (diff)
downloadrust-20c833c632d76ee78284441226f12b919318bc4b.tar.gz
rust-20c833c632d76ee78284441226f12b919318bc4b.zip
diagnostics: `Box<dyn Trait>` suggestion with multiple matching impl
The two altered expectation messages both seem like improvements:

- `coerce-expect-unsized-ascribed.stderr` says you can go
  `Box<char> -> Box<dyn Debug>`, which you can.
- `upcast_soundness_bug.stderr` used to say that you could go
  `Box<dyn Trait<u8, u8>> -> Box<dyn Trait>`, which you can't,
  because the type parameters are missing in the destination
  and the only ones that work aren't what's needed.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions