Skip to content

Commit 05f5051

Browse files
committed
Remove unused TypeVariableOrigin variants
1 parent 2a1d6c8 commit 05f5051

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc/infer/type_variable.rs

-3
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ pub enum TypeVariableOrigin {
5151
SubstitutionPlaceholder(Span),
5252
AutoDeref(Span),
5353
AdjustmentType(Span),
54-
DivergingStmt(Span),
55-
DivergingBlockExpr(Span),
5654
DivergingFn(Span),
5755
LatticeVariable(Span),
58-
Generalized(ty::TyVid),
5956
}
6057

6158
struct TypeVariableData {

0 commit comments

Comments
 (0)