about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAnton Lofgren <alofgren@op5.com>2014-07-22 08:33:03 +0200
committerAlex Crichton <alex@alexcrichton.com>2014-07-29 15:43:21 -0700
commitef7d3e13e258258ec427889d3b047f0b7fda33c7 (patch)
tree777ba94df1cff07ec2b8b514c1c99d93ac3d773d /src/rustllvm/ExecutionEngineWrapper.cpp
parentc2ac7fde0b4715ff87467be91d57d5afd49978a2 (diff)
downloadrust-ef7d3e13e258258ec427889d3b047f0b7fda33c7.tar.gz
rust-ef7d3e13e258258ec427889d3b047f0b7fda33c7.zip
lint: Improve ffi-unsafe enum lint warning
I think this is an improvement of the previous warning message, which
- like the comment that I removed implies - is in need of some
improvement.
I've opted to point the user in the right direction w.r.t how to fix the
problem, which I think is good form.

Not being familiar with the repr(...) attribute, I personally had to
check the lint rules myself to figure out what was wrong. Hopefully,
this will save he next person some time and headache.

Signed-off-by: Anton Lofgren <alofgren@op5.com>
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions