diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2022-11-25 18:18:03 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2023-01-22 11:02:28 -0300 |
| commit | 7fe472223e4bcdd960d73e323979d15168ce4e39 (patch) | |
| tree | 373225656c0306db26c1596b34fcc4f48b0bcbeb /compiler/rustc_trait_selection/src/solve | |
| parent | 81ee6aebaa3d93c5e86d4d7c0fe80c3af74d3ec3 (diff) | |
| download | rust-7fe472223e4bcdd960d73e323979d15168ce4e39.tar.gz rust-7fe472223e4bcdd960d73e323979d15168ce4e39.zip | |
Store relationships on Inherent
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/fulfill.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/fulfill.rs b/compiler/rustc_trait_selection/src/solve/fulfill.rs index a6240666ed4..40b9bedc84f 100644 --- a/compiler/rustc_trait_selection/src/solve/fulfill.rs +++ b/compiler/rustc_trait_selection/src/solve/fulfill.rs @@ -1,6 +1,5 @@ use std::mem; -use rustc_data_structures::fx::FxHashMap; use rustc_infer::{ infer::InferCtxt, traits::{ @@ -8,7 +7,6 @@ use rustc_infer::{ SelectionError, TraitEngine, }, }; -use rustc_middle::ty; use super::{search_graph, Certainty, EvalCtxt}; @@ -102,8 +100,4 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> { fn pending_obligations(&self) -> Vec<PredicateObligation<'tcx>> { self.obligations.clone() } - - fn relationships(&mut self) -> &mut FxHashMap<ty::TyVid, ty::FoundRelationships> { - unimplemented!("Should be moved out of `TraitEngine`") - } } |
