]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #79804 - tmiasko:improper-ctypes-no-niche, r=pnkfelix
authorbors <bors@rust-lang.org>
Wed, 10 Feb 2021 12:56:09 +0000 (12:56 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Feb 2021 12:56:09 +0000 (12:56 +0000)
commit07194ffcd25b0871ce560b9f702e52db27ac9f77
tree2a2d473cf33b93ed3f7c310bbcc07a79b69ddb9b
parent218bf8d7657e1aadf6f499651078f3710df20c7b
parent8fc246251fad28715493d240e6a63a0db237ce7a
Auto merge of #79804 - tmiasko:improper-ctypes-no-niche, r=pnkfelix

Types with a hidden niche are not known to be non-null

Fixes #79787.
compiler/rustc_lint/src/types.rs
src/test/ui/lint/lint-ctypes.rs