]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #95020 - compiler-errors:late-debuginfo, r=jackh726
authorbors <bors@rust-lang.org>
Thu, 17 Mar 2022 21:54:25 +0000 (21:54 +0000)
committerbors <bors@rust-lang.org>
Thu, 17 Mar 2022 21:54:25 +0000 (21:54 +0000)
erase late-bound regions in dyn projection types for debuginfo

simply skipping the binder leaves late-bound regions that will cause debug assertions to fail when checking the layout of the projection ty, so let's erase the regions instead.

sorry for taking so long to put this up, had trouble getting rustc set up on a new computer.

fixes #94998


Trivial merge