diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-06-09 00:16:35 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <arielb1@mail.tau.ac.il> | 2016-06-09 15:24:46 +0300 |
| commit | f5b1ba6e90afe1cd5bc46bae4ee97d989c71adbf (patch) | |
| tree | abdd17d9ed55f174773d66f98b8fb121eac0ed0e /src/librustc_borrowck | |
| parent | 065a2649761e00d9a025e1efcf6ff09e291264aa (diff) | |
| download | rust-f5b1ba6e90afe1cd5bc46bae4ee97d989c71adbf.tar.gz rust-f5b1ba6e90afe1cd5bc46bae4ee97d989c71adbf.zip | |
use the type name as the pass name
Diffstat (limited to 'src/librustc_borrowck')
| -rw-r--r-- | src/librustc_borrowck/borrowck/mir/elaborate_drops.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_borrowck/borrowck/mir/elaborate_drops.rs b/src/librustc_borrowck/borrowck/mir/elaborate_drops.rs index 593a997bed5..362d6ce2aca 100644 --- a/src/librustc_borrowck/borrowck/mir/elaborate_drops.rs +++ b/src/librustc_borrowck/borrowck/mir/elaborate_drops.rs @@ -69,9 +69,7 @@ impl<'tcx> MirPass<'tcx> for ElaborateDrops { } } -impl Pass for ElaborateDrops { - fn name(&self) -> &str { "elaborate-drops" } -} +impl Pass for ElaborateDrops {} struct InitializationData { live: IdxSetBuf<MovePathIndex>, |
