]> git.lizzy.rs Git - rust.git/commit
fix universes in the NLL type tests
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 15 Jun 2022 21:28:05 +0000 (17:28 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 15 Jun 2022 21:28:05 +0000 (17:28 -0400)
commit12912b9cde4791dead52e49ae87f80c579bc0cd5
tree459be02e20d5f3c3c4aa20d3a72e94ef5ff96f6d
parentb7b3d2cee0e371fdecf9726ab949a24ead3dcb97
fix universes in the NLL type tests

In the NLL code, we were not accommodating universes in the
`type_test` logic. This led to issue 98095.
compiler/rustc_borrowck/src/region_infer/mod.rs
src/test/ui/nll/type-test-universe.rs [new file with mode: 0644]
src/test/ui/nll/type-test-universe.stderr [new file with mode: 0644]