about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorRobin Kruppe <robin.kruppe@gmail.com>2018-02-14 23:11:29 +0100
committerRobin Kruppe <robin.kruppe@gmail.com>2018-02-15 19:49:50 +0100
commit051ea5cc9bac00c7f588b4eae72b8a382d8ceb68 (patch)
treea3011f11a8464e418db327a0513ef8dbaece16fc /src/rustllvm/RustWrapper.cpp
parent9d493c897b4382dc145b9448b3fafdfbbaecf528 (diff)
downloadrust-051ea5cc9bac00c7f588b4eae72b8a382d8ceb68.tar.gz
rust-051ea5cc9bac00c7f588b4eae72b8a382d8ceb68.zip
[improper_ctypes] Don't suggest raw pointers when encountering trait objects
It's unhelpful since raw pointers to trait objects are also FFI-unsafe and casting to a thin raw pointer loses the vtable. There are working solutions that _involve_ raw pointers but they're too complex to explain in one line and have serious trade offs.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions