Skip to content

Commit 61eddba

Browse files
committed
w
1 parent cb66527 commit 61eddba

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_infer/src/traits

1 file changed

+2
-2
lines changed

compiler/rustc_infer/src/traits/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub type Selection<'tcx> = ImplSource<'tcx, PredicateObligation<'tcx>>;
124124
pub type ObligationInspector<'tcx> =
125125
fn(&InferCtxt<'tcx>, &PredicateObligation<'tcx>, Result<Certainty, NoSolution>);
126126

127-
#[derive(Clone, TypeVisitable)]
127+
#[derive(Clone)]
128128
pub struct FulfillmentError<'tcx> {
129129
pub obligation: PredicateObligation<'tcx>,
130130
pub code: FulfillmentErrorCode<'tcx>,
@@ -134,7 +134,7 @@ pub struct FulfillmentError<'tcx> {
134134
pub root_obligation: PredicateObligation<'tcx>,
135135
}
136136

137-
#[derive(Clone, TypeVisitable)]
137+
#[derive(Clone)]
138138
pub enum FulfillmentErrorCode<'tcx> {
139139
/// Inherently impossible to fulfill; this trait is implemented if and only
140140
/// if it is already implemented.

0 commit comments

Comments
 (0)