]> git.lizzy.rs Git - rust.git/commit
Auto merge of #73257 - davidtwco:issue-73249-improper-ctypes-projection, r=lcnr,varkor
authorbors <bors@rust-lang.org>
Fri, 19 Jun 2020 19:14:45 +0000 (19:14 +0000)
committerbors <bors@rust-lang.org>
Fri, 19 Jun 2020 19:14:45 +0000 (19:14 +0000)
commit2d8bd9b74dc0cf06d881bac645698ccbcf9d9c5e
tree952b8d9248df61ef6245f04ad1b4fc16ed149081
parent72417d84fb51495a4f1d007fb2397a0b2609ab63
parenta730d888aee99f9a556dae799deadacb83c34d0e
Auto merge of #73257 - davidtwco:issue-73249-improper-ctypes-projection, r=lcnr,varkor

ty: projections in `transparent_newtype_field`

Fixes #73249.

This PR modifies `transparent_newtype_field` so that it handles
projections with generic parameters, where `normalize_erasing_regions`
would ICE.
src/librustc_lint/types.rs