diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-02-12 14:21:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-12 14:21:14 +0100 |
| commit | db48a8a6aa139ce5e1de92e360dde30d80007545 (patch) | |
| tree | 3c1550ebf4b277882ad7347f4f87b64c099a3006 /src | |
| parent | 6b40f59db111cfe87908330be31f33735f08813c (diff) | |
| parent | d8544ce2484553f6397d8986b582181a2e761360 (diff) | |
| download | rust-db48a8a6aa139ce5e1de92e360dde30d80007545.tar.gz rust-db48a8a6aa139ce5e1de92e360dde30d80007545.zip | |
Rollup merge of #69059 - ljedrz:unused_stuff, r=Dylan-DPC
Remove a few unused objects As far as I can tell, these won't be missed: - `infer::region_constraints::ConstraintInfo` - `driver::DefaultCallbacks` - ~~`hir::intravisit::ParDeepVisitor`~~
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/infer/region_constraints/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_driver/lib.rs | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc/infer/region_constraints/mod.rs b/src/librustc/infer/region_constraints/mod.rs index 2c580e2e349..8379a73bb9e 100644 --- a/src/librustc/infer/region_constraints/mod.rs +++ b/src/librustc/infer/region_constraints/mod.rs @@ -339,8 +339,6 @@ impl TaintDirections { } } -pub struct ConstraintInfo {} - impl<'tcx> RegionConstraintCollector<'tcx> { pub fn new() -> Self { Self::default() diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 2e6dde6459a..f68ea7e0770 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -120,10 +120,6 @@ pub trait Callbacks { } } -pub struct DefaultCallbacks; - -impl Callbacks for DefaultCallbacks {} - #[derive(Default)] pub struct TimePassesCallbacks { time_passes: bool, |
