]> git.lizzy.rs Git - rust.git/commit
Replace the `run_passes!` macro with a regular function
authorWesley Wiser <wwiser@gmail.com>
Tue, 23 Oct 2018 02:41:21 +0000 (22:41 -0400)
committerWesley Wiser <wwiser@gmail.com>
Tue, 23 Oct 2018 02:45:36 +0000 (22:45 -0400)
commitc535147f291fee0c79553eabcd520156707cd0d4
tree34c88dfa7b1f919f6d6978ebdb157c24100ec370
parent895a4b2d45e6d5c274bcd561391b2cc6a73dd2c5
Replace the `run_passes!` macro with a regular function

As suggested in the feedback for #55244.

When I replaced the macro with a function, rustc started complaining
that there were two unused functions so I also removed those.
src/librustc_mir/dataflow/impls/borrows.rs
src/librustc_mir/dataflow/mod.rs
src/librustc_mir/transform/mod.rs