Skip to content

Commit

Permalink
Rollup merge of rust-lang#69059 - ljedrz:unused_stuff, r=Dylan-DPC
Browse files Browse the repository at this point in the history
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`~~
  • Loading branch information
Dylan-DPC authored Feb 12, 2020
2 parents 6b40f59 + d8544ce commit db48a8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/librustc/infer/region_constraints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ impl TaintDirections {
}
}

pub struct ConstraintInfo {}

impl<'tcx> RegionConstraintCollector<'tcx> {
pub fn new() -> Self {
Self::default()
Expand Down
4 changes: 0 additions & 4 deletions src/librustc_driver/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ pub trait Callbacks {
}
}

pub struct DefaultCallbacks;

impl Callbacks for DefaultCallbacks {}

#[derive(Default)]
pub struct TimePassesCallbacks {
time_passes: bool,
Expand Down

0 comments on commit db48a8a

Please sign in to comment.