about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2018-12-08 11:57:25 +0100
committerPhilipp Hansch <dev@phansch.net>2018-12-08 12:05:11 +0100
commitd90cad24a19190fd51c7a90203a29c5c91780711 (patch)
tree0caafad99aa13eedf277f768bebef320d6ff5e17 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentf13d23de41ef41da424dbd514f3012cd0e5dcd85 (diff)
downloadrust-d90cad24a19190fd51c7a90203a29c5c91780711.tar.gz
rust-d90cad24a19190fd51c7a90203a29c5c91780711.zip
Fix c_void false positive caused by libc refactoring
The path of `libc::c_void` has changes in https://github.com/rust-lang/libc/commit/5c1a6b8a6d558882927a0816d91c01b9c2a88018
The DefId path is now always platform specific like
`libc::windows::c_void`. This fixes our c_void detection to only check
the first and last elements.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions