From d8544ce2484553f6397d8986b582181a2e761360 Mon Sep 17 00:00:00 2001 From: ljedrz Date: Tue, 11 Feb 2020 13:34:42 +0100 Subject: [PATCH] remove some unused objects --- src/librustc/infer/region_constraints/mod.rs | 2 -- src/librustc_driver/lib.rs | 4 ---- 2 files changed, 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 @@ pub fn both() -> Self { } } -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 019ff431bcb..0f1e9fe1424 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -123,10 +123,6 @@ fn after_analysis<'tcx>( } } -pub struct DefaultCallbacks; - -impl Callbacks for DefaultCallbacks {} - #[derive(Default)] pub struct TimePassesCallbacks { time_passes: bool,