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`~~
This commit is contained in:
Dylan DPC 2020-02-12 14:21:14 +01:00 committed by GitHub
commit db48a8a6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -339,8 +339,6 @@ impl TaintDirections {
}
}
pub struct ConstraintInfo {}
impl<'tcx> RegionConstraintCollector<'tcx> {
pub fn new() -> Self {
Self::default()

View File

@ -120,10 +120,6 @@ pub trait Callbacks {
}
}
pub struct DefaultCallbacks;
impl Callbacks for DefaultCallbacks {}
#[derive(Default)]
pub struct TimePassesCallbacks {
time_passes: bool,