]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #87529 - FabianWolff:issue-87496, r=nikomatsakis
authorYuki Okushi <jtitor@2k36.org>
Fri, 17 Sep 2021 05:09:44 +0000 (14:09 +0900)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 05:09:44 +0000 (14:09 +0900)
commit81dc21699e7376afcf7469104ad8acb7c5f09269
tree600d83437c7ef072937a26332cc7247099f037fc
parentf4f7704eddb007c9b5b5a0c5663ab3efe778ca57
parent4e76c3820fea97e06f08555d4eeee3de3be4eb5a
Rollup merge of #87529 - FabianWolff:issue-87496, r=nikomatsakis

Fix ICE in `improper_ctypes_definitions` lint with all-ZST transparent types

Fixes #87496. There is also another function in the same file that looks fishy, but I haven't been able to produce an ICE there, and in any case, it's not related to #87496:
https://github.com/rust-lang/rust/blob/fd853c00e255559255885aadff9e93a1760c8728/compiler/rustc_lint/src/types.rs#L720-L734

r? ```@JohnTitor```
compiler/rustc_lint/src/types.rs