]> git.lizzy.rs Git - rust.git/commit
erase types in the move-path abstract domain
authorAriel Ben-Yehuda <ariel.byd@gmail.com>
Thu, 27 Jul 2017 20:12:08 +0000 (23:12 +0300)
committerAriel Ben-Yehuda <ariel.byd@gmail.com>
Thu, 27 Jul 2017 20:14:41 +0000 (23:14 +0300)
commite268ddf52d7b52b0633572dacdf628c17978f1df
treedc6ac4ac383a572e1337dc0c9e4e2e76492bd037
parent0565653eecd7d667dbb28bb5d3008e783950892a
erase types in the move-path abstract domain

Leaving types unerased would lead to 2 types with a different "name"
getting different move-paths, which would cause major brokenness (see
e.g. #42903).

This does not fix any *known* issue, but is required if we want to use
abs_domain with non-erased regions (because the same can easily
have different names). cc @RalfJung.
src/librustc/ich/impls_mir.rs
src/librustc/mir/mod.rs
src/librustc_mir/dataflow/move_paths/abs_domain.rs