about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-10-30 17:33:15 +0100
committerGitHub <noreply@github.com>2023-10-30 17:33:15 +0100
commit95de91b5ceae99d451cbb9fd85ec4dc9c8f7397c (patch)
treebc2257c9a24b698f4bb374bde92ea1800f17ff54 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent824e3677c26d7fd7687d6a7a3349f3f11c534490 (diff)
parent8c04999226e4be90c46c370580c9e8cd7f0ccb05 (diff)
downloadrust-95de91b5ceae99d451cbb9fd85ec4dc9c8f7397c.tar.gz
rust-95de91b5ceae99d451cbb9fd85ec4dc9c8f7397c.zip
Rollup merge of #117132 - estebank:issue-80194, r=petrochenkov
On object safety error, mention new enum as alternative

When we encounter a `dyn Trait` that isn't object safe, look for its implementors. If there's one, mention using it directly If there are less than 9, mention the possibility of creating a new enum and using that instead.

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