diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2018-02-14 19:39:04 +0100 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2018-02-15 18:10:54 +0100 |
| commit | 22a171609bf555833b277a70420a24696dd8805d (patch) | |
| tree | 52a0c7f754a2557b6c21de486790e31700a9dc21 /src/rustllvm/RustWrapper.cpp | |
| parent | 9b5f47ec48e8c12b68cff7cc64afe166358183ef (diff) | |
| download | rust-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
