about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-27 13:10:43 +0000
committerbors <bors@rust-lang.org>2021-03-27 13:10:43 +0000
commitdcee00d64b7dfc4acd66036d07f6f10b66a49318 (patch)
tree36982bed1c24c7a3284438678649f4247decaca6 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6f2a6fe84fc811c04b5693531042deb44b077233 (diff)
parent12985afbcad28eb67c0b5c5903ff21b6fa922b13 (diff)
downloadrust-dcee00d64b7dfc4acd66036d07f6f10b66a49318.tar.gz
rust-dcee00d64b7dfc4acd66036d07f6f10b66a49318.zip
Auto merge of #6980 - Jarcho:len_without_is_empty_sig, r=llogiq
`len_without_is_empty` improvements

fixes: #6958
fixes: #6972

changelog: Check the return type of `len`. Only integral types, or an `Option` or `Result` wrapping one.
changelog: Ensure the return type of `is_empty` matches. e.g. `Option<usize>` -> `Option<bool>`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions