about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-25 14:25:37 +0000
committerbors <bors@rust-lang.org>2019-01-25 14:25:37 +0000
commit0b1669d96cee9dec9035a50fdf0a967a68605f98 (patch)
tree8e40b6ff988aca0ba94b901c13a72c39321cf692 /src/rustllvm/RustWrapper.cpp
parent7187db619c134697647f96e82111cbcbae337d4f (diff)
parent620a03f5aa7490cc904f868c91fbb303ec6a3274 (diff)
downloadrust-0b1669d96cee9dec9035a50fdf0a967a68605f98.tar.gz
rust-0b1669d96cee9dec9035a50fdf0a967a68605f98.zip
Auto merge of #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. (#54943)
* Use the inferred type to allow infallible handling of user type projections (#57531)
* Uses revisions for the tests in #56993
* Check the types of `Unevaluated` constants with no annotations (#46702)
* Some drive-by cleanup

Closes #46702
Closes #54943
Closes #57531
Closes #57731
cc #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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions