about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-11-16 22:56:18 +0100
committerDavid Wood <david@davidtw.co>2018-12-30 14:25:20 +0100
commit24a7a010d1015731418852d893d889f4bcbdeb51 (patch)
tree88f576b3734b605cec00ba83114c22a038e627ae /src/rustllvm/RustWrapper.cpp
parent7155690ffcdf2ce325361bdb5b64ad69c043662f (diff)
downloadrust-24a7a010d1015731418852d893d889f4bcbdeb51.tar.gz
rust-24a7a010d1015731418852d893d889f4bcbdeb51.zip
Refactor `UserTypeAnnotation`.
This commit refactors the `UserTypeAnnotation` type to be referred to by
an index within `UserTypeProjection`. `UserTypeAnnotation` is instead
kept in an `IndexVec` within the `Mir` struct.

Further, instead of `UserTypeAnnotation` containing canonicalized types,
it now contains normal types and the entire `UserTypeAnnotation` is
canonicalized. To support this, the type was moved from the `rustc::mir`
module to `rustc::ty` module.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions