about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-06-01 15:41:36 +0100
committerDavid Wood <david@davidtw.co>2020-06-09 14:37:05 +0100
commit3e7aabb1b3ec9ad66c7a306cd956e880a1a51483 (patch)
tree130dda4f7ea84e7bd1eced47df515abb6f4f478c /src/rustllvm/RustWrapper.cpp
parenta8640cdf47b5424a1a194551f3e873e8d2726cb4 (diff)
downloadrust-3e7aabb1b3ec9ad66c7a306cd956e880a1a51483.tar.gz
rust-3e7aabb1b3ec9ad66c7a306cd956e880a1a51483.zip
lint: check for unit ret type after normalization
This commit moves the check that skips unit return types to after
where the return type has been normalized - therefore ensuring that
FFI-safety lints are not emitted for types which normalize to unit.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions