]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38616 - pnkfelix:refactor-mir-dataflow-remove-ctxt, r=arielb1
authorbors <bors@rust-lang.org>
Wed, 28 Dec 2016 09:42:46 +0000 (09:42 +0000)
committerbors <bors@rust-lang.org>
Wed, 28 Dec 2016 09:42:46 +0000 (09:42 +0000)
commit469fd779ee24f8348acd438f471c8c3a5cef309a
tree56262f21171f4671414ce4f46d81a2a37584b6b6
parent17f1fba353d2545ee54589350a83681dc3156e70
parenta6fe6c9be10c79d64c988d490519f5cc07e9060d
Auto merge of #38616 - pnkfelix:refactor-mir-dataflow-remove-ctxt, r=arielb1

Refactor mir::dataflow: remove Ctxt associated type from BitDenotation trait

Refactor mir::dataflow: remove Ctxt associated type from BitDenotation trait

I no longer remember why I needed this (or thought I did). The way
that the `BitDenotation` is passed around in all existing use cases
(and planned future ones), the thing that were in the `Ctxt` can just
be part of `Self` instead.

(I think ariel had been pushing me to do this back when I first put in
this infrastructure; it took me a while to see how much of pain the
`Ctxt` was causing.)
src/librustc_borrowck/borrowck/mir/elaborate_drops.rs