Skip to content

Commit db48a8a

Browse files
authored
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`~~
2 parents 6b40f59 + d8544ce commit db48a8a

File tree

2 files changed

+0
-6
lines changed
  • src
    • librustc/infer/region_constraints
    • librustc_driver

2 files changed

+0
-6
lines changed

src/librustc/infer/region_constraints/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,6 @@ impl TaintDirections {
339339
}
340340
}
341341

342-
pub struct ConstraintInfo {}
343-
344342
impl<'tcx> RegionConstraintCollector<'tcx> {
345343
pub fn new() -> Self {
346344
Self::default()

src/librustc_driver/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ pub trait Callbacks {
120120
}
121121
}
122122

123-
pub struct DefaultCallbacks;
124-
125-
impl Callbacks for DefaultCallbacks {}
126-
127123
#[derive(Default)]
128124
pub struct TimePassesCallbacks {
129125
time_passes: bool,

0 commit comments

Comments
 (0)