You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#57714 - matthewjasper:wellformed-unreachable, r=pnkfelix
[NLL] Clean up handling of type annotations
* Renames (Canonical)?UserTypeAnnotation -> (Canonical)?UserType so that the name CanonicalUserTypeAnnotation is free.
* Keep the inferred type associated to user type annotations in the MIR, so that it can be compared against the annotated type, even when the annotated expression gets removed from the MIR. (rust-lang#54943)
* Use the inferred type to allow infallible handling of user type projections (rust-lang#57531)
* Uses revisions for the tests in rust-lang#56993
* Check the types of `Unevaluated` constants with no annotations (rust-lang#46702)
* Some drive-by cleanup
Closesrust-lang#46702Closesrust-lang#54943Closesrust-lang#57531Closesrust-lang#57731
cc rust-lang#56993 leaving this open to track the underlying issue: we are not running tests with full NLL enabled on CI at the moment
r? @nikomatsakis
0 commit comments