diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2018-02-11 21:54:56 +0100 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2018-02-15 17:47:53 +0100 |
| commit | ae92dfac5019643b8fb310de9e92f0889b0106ca (patch) | |
| tree | 288a9e5df727c8786ca030eaa4a4e64178844d5a /src/rustllvm/RustWrapper.cpp | |
| parent | 7ac5e96f4af8efe4a7f09a873d81006329cb5133 (diff) | |
| download | rust-ae92dfac5019643b8fb310de9e92f0889b0106ca.tar.gz rust-ae92dfac5019643b8fb310de9e92f0889b0106ca.zip | |
[improper_ctypes] Stop complaining about repr(usize) and repr(isize) enums
This dates back to at least #26583. At the time, usize and isize were considered ffi-unsafe to nudge people away from them, but this changed in the aforementioned PR, making it inconsistent to complain about it in enum discriminants. In fact, repr(usize) is probably the best way to interface with `enum Foo : size_t { ... }`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
