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 19:39:04 +0100
committerRobin Kruppe <robin.kruppe@gmail.com>2018-02-15 18:10:54 +0100
commit22a171609bf555833b277a70420a24696dd8805d (patch)
tree52a0c7f754a2557b6c21de486790e31700a9dc21 /src/rustllvm/RustWrapper.cpp
parent9b5f47ec48e8c12b68cff7cc64afe166358183ef (diff)
downloadrust-22a171609bf555833b277a70420a24696dd8805d.tar.gz
rust-22a171609bf555833b277a70420a24696dd8805d.zip
[improper_ctypes] Suggest repr(transparent) for structs
The suggestion is unconditional, so following it could lead to further errors. This is already the case for the repr(C) suggestion, which makes this acceptable, though not *good*. Checking up-front whether the suggestion can help would be great but applies more broadly (and would require some refactoring to avoid duplicating the checks).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions