diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-12-08 11:57:25 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-12-08 12:05:11 +0100 |
| commit | d90cad24a19190fd51c7a90203a29c5c91780711 (patch) | |
| tree | 0caafad99aa13eedf277f768bebef320d6ff5e17 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | f13d23de41ef41da424dbd514f3012cd0e5dcd85 (diff) | |
| download | rust-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
