thir-unsafeck query loops when trying to compute frozenness #87713
Labels
-Zthir-unsafeck
Unstable option: THIR unsafeck
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code with
-Z thir-unsafeck
:I expected to see this happen: It errors with
cannot resolve opaque type
and a warningInstead, this happened: There is also a query loop:
This also happens when using the new unsafety checker with
ui/generator/layout-error.rs
,ui/impl-trait/recursive-impl-trait-type-indirect.rs
,ui/impl-trait/unsafety-checking-cycle.rs
, andui/type-alias-impl-traiissue-52843-closure-constrain.rs
.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: